Add variability to autoforward timing

Revert prior change to autoconvert, that was fine
This commit is contained in:
Justin Ehrenhofer
2025-03-24 20:33:57 -05:00
parent 5f7d90e7f4
commit b7cfaed31f
2 changed files with 5 additions and 3 deletions

View File

@@ -84,5 +84,5 @@ while 1:
print(util.get_time(), f'Error attempting to sell {asset}:')
print(traceback.format_exc())
delay = random.uniform(30, 90)
time.sleep(round(delay, 2))
delay = random.randint(30, 90)
time.sleep(delay)

View File

@@ -1,5 +1,6 @@
from typing import Literal, cast
from time import sleep
import random
import traceback
import requests
import json
@@ -198,5 +199,6 @@ while 1:
print(util.get_time(), 'Error autoforwarding Monero:')
print(traceback.format_exc())
sleep(60 * 5)
delay = random.randint(270, 330)
sleep(delay)