diff --git a/sgx_jmp.rb b/sgx_jmp.rb index 8787788727e448dc31e7659b4865052a611fb3e3..44b04ef24c64b2357032838f192249de49324493 100644 --- a/sgx_jmp.rb +++ b/sgx_jmp.rb @@ -300,7 +300,7 @@ message do |m| ]).then { customer } }.then { |customer| customer.message_usage((today..(today - 30))).then do |usage| - next unless usage > 500 + next unless usage > 900 ExpiringLock.new("jmp_usage_notify-#{customer.customer_id}").with do BLATHER.join(CONFIG[:notify_admin], "sgx-jmp")