mirror of
https://github.com/MAGICGrants/autoforward-autoconvert.git
synced 2026-01-09 05:28:08 -05:00
Add variability to autoforward timing
Revert prior change to autoconvert, that was fine
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user