mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2025-12-06 08:52:55 +01:00
Increase sleep times between cache checks using open_pages_in_browser.
This commit is contained in:
parent
0205ec4ccb
commit
8850c1a62b
1 changed files with 1 additions and 1 deletions
|
|
@ -70,7 +70,7 @@ class BrowserCacheDecorator(FetcherDecorator):
|
|||
# logger.debug("First time for (%s) extra sleep"%parsedUrl.netloc)
|
||||
# time.sleep(10)
|
||||
fromcache=False
|
||||
read_try_sleeps = [2, 2, 2, 2, 2]
|
||||
read_try_sleeps = [2, 2, 4, 5, 6]
|
||||
while not d and read_try_sleeps:
|
||||
time.sleep(read_try_sleeps.pop(0))
|
||||
logger.debug("Checking for cache...")
|
||||
|
|
|
|||
Loading…
Reference in a new issue