narrow down midnight sleep time

This commit is contained in:
mud mud 2022-11-09 07:58:17 +00:00
parent d61f9543fb
commit 66e6c3f688

View File

@ -112,7 +112,7 @@ loop do
# if max coins per day has reached, sleep until midnight # if max coins per day has reached, sleep until midnight
if coins_offered_today >= MAX_COINS_PER_DAY if coins_offered_today >= MAX_COINS_PER_DAY
sleep(get_seconds_to_midnight(Time.now)) sleep(get_seconds_to_midnight(Time.now))
sleep(get_random_hours(0, 11)) sleep(get_random_hours(5, 11))
coins_offered_today = 0 coins_offered_today = 0
end end
end end