oncall-engine/engine/apps/user_management/subscription_strategy
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 World, meet OnCall! 2022-06-03 08:09:47 -06:00
base_subsription_strategy.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
free_public_beta_subscription_strategy.py TwilioPhoneProvider optimizations (#2034) 2023-06-08 05:13:54 +00:00