From 66e6c3f6886c4d957b4749ccf6078652aedcb292 Mon Sep 17 00:00:00 2001 From: mud mud Date: Wed, 9 Nov 2022 07:58:17 +0000 Subject: [PATCH] narrow down midnight sleep time --- coin.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coin.rb b/coin.rb index 1d5b4db..0fb6fb2 100644 --- a/coin.rb +++ b/coin.rb @@ -112,7 +112,7 @@ loop do # if max coins per day has reached, sleep until midnight if coins_offered_today >= MAX_COINS_PER_DAY sleep(get_seconds_to_midnight(Time.now)) - sleep(get_random_hours(0, 11)) + sleep(get_random_hours(5, 11)) coins_offered_today = 0 end end