update sleep time to fix timeout bug
This commit is contained in:
parent
3f6c5547cb
commit
fa9f7dfa73
4
rss.py
4
rss.py
@ -14,7 +14,7 @@ def load_content():
|
||||
return tmp
|
||||
except Exception as e:
|
||||
print(f"Error downloading: {e}")
|
||||
time.sleep(10)
|
||||
time.sleep(1)
|
||||
return None
|
||||
|
||||
def update(ids):
|
||||
@ -24,6 +24,6 @@ def update(ids):
|
||||
return True
|
||||
except Exception as e:
|
||||
print(f"Error updating: {e}")
|
||||
time.sleep(60)
|
||||
time.sleep(1)
|
||||
return False
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user