oncall-engine/engine/apps/twilioapp
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
..
migrations TwilioPhoneProvider optimizations (#2034) 2023-06-08 05:13:54 +00:00
models TwilioPhoneProvider optimizations (#2034) 2023-06-08 05:13:54 +00:00
tests Fix warnings when running backend tests (#2079) 2023-06-06 18:38:00 +00:00
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
gather.py TwilioPhoneProvider optimizations (#2034) 2023-06-08 05:13:54 +00:00
phone_provider.py Map country code to different Twilio resources (#1976) 2023-05-25 21:56:44 +00:00
status_callback.py TwilioPhoneProvider optimizations (#2034) 2023-06-08 05:13:54 +00:00
urls.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
views.py Use same account for status callback when using TwilioSender (#2083) 2023-06-02 17:19:36 +00:00