Lower throttle window from 10 minutes to 5 minutes.

pull/1297/head
Rick Carlino 2019-07-20 13:59:47 -05:00
parent 14de8bacce
commit d386dec1c2
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ module Api
attr_reader :cache
CACHE_KEY_TPL = "mqtt_limiter:%s"
TTL = 60 * 10 # Ten Minutes
TTL = 60 * 5 # Ten Minutes
PER_DEVICE_MAX = 10
MAX_GUEST_COUNT = 256
WARNING = "'%s' was rate limited."