Add new rates for 2021

These are the new rates from
https://docs.google.com/document/d/1aObNQNBw3ayPMl3b_Qc5kZBdaXIAMDnBGtV-xPtFBsc/edit?ts=603f68ea#

We’re changing the free allowance so we can continue to support all the
teams that use Notify. The new allowance means over 90% of teams can
still send all the text messages they need to without paying.
This commit is contained in:
Chris Hill-Scott
2021-03-05 15:55:59 +00:00
parent 9a3f2c30ef
commit 61f605ff67
2 changed files with 17 additions and 0 deletions

View File

@@ -35,27 +35,35 @@ class Config(object):
DEFAULT_FREE_SMS_FRAGMENT_LIMITS = {
'central': {
2020: 250_000,
2021: 150_000,
},
'local': {
2020: 25_000,
2021: 25_000,
},
'nhs_central': {
2020: 250_000,
2021: 150_000,
},
'nhs_local': {
2020: 25_000,
2021: 25_000,
},
'nhs_gp': {
2020: 25_000,
2021: 10_000,
},
'emergency_service': {
2020: 25_000,
2021: 25_000,
},
'school_or_college': {
2020: 25_000,
2021: 10_000,
},
'other': {
2020: 25_000,
2021: 10_000,
},
}
EMAIL_EXPIRY_SECONDS = 3600 # 1 hour