Only notify over 900

Stephen Paul Weber created

We've started getting lax about vetting the warnings because there are too many.
Raise the threshold for a warning.

Change summary

sgx_jmp.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

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")