The secondary block should be longer than the main lock...

Stephen Paul Weber created

Change summary

lib/low_balance.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

lib/low_balance.rb 🔗

@@ -86,7 +86,7 @@ class LowBalance
 		def failed(e)
 			@method && REDIS.setex(
 				"jmp_auto_top_up_block-#{@method.unique_number_identifier}",
-				60 * 60 * 24 * 7,
+				60 * 60 * 24 * 30,
 				Time.now
 			)
 			@message.body =