oncall-engine/engine/apps/twilioapp/models
Innokentii Konstantinov 306f842963
TwilioPhoneProvider optimizations (#2034)
# What this PR does
This PR does three improvements in twilio_phone_provider:
1.
[Speed-up](https://github.com/grafana/oncall/pull/2034/files#diff-7a311767169c024e60e2b4e35fd531dd6e2f1ea785cfc84263e11e7932d622af)
query which calculates amount of phone_calls/sms left.
2. Remove code which was needed only for backward compatibility during
the release of PhoneProvider refactoring and improves logging for
handling status/gather updates.
3. Add db_index to twilio_sid. We are doing lot of lookups by sid and
with increasing amount of data it became resource consuming.
2023-06-08 05:13:54 +00:00
..
__init__.py Map country code to different Twilio resources (#1976) 2023-05-25 21:56:44 +00:00
twilio_log_record.py Phone provider refactoring (#1713) 2023-05-24 06:27:48 +00:00
twilio_phone_call.py TwilioPhoneProvider optimizations (#2034) 2023-06-08 05:13:54 +00:00
twilio_sender.py Map country code to different Twilio resources (#1976) 2023-05-25 21:56:44 +00:00
twilio_sms.py TwilioPhoneProvider optimizations (#2034) 2023-06-08 05:13:54 +00:00