mirror of
https://gitlab.com/chicken-riders/RcGcDw.git
synced 2025-02-23 00:24:09 +00:00
Fetch big amount after internet connection is good
This commit is contained in:
parent
408fc01a30
commit
e0ec3ed064
|
@ -712,6 +712,7 @@ class recent_changes_class(object):
|
|||
if looped == False:
|
||||
while 1: #recursed loop, check for connection (every 10 seconds) as long as three services are down, don't do anything else
|
||||
if self.check_connection(looped=True):
|
||||
recent_changes.fetch(amount=settings["limitrefetch"])
|
||||
break
|
||||
time.sleep(10)
|
||||
return False
|
||||
|
|
Loading…
Reference in a new issue