mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2025-12-31 21:24:54 +01:00
Tweak open_pages_in_browser timings.
This commit is contained in:
parent
7873e25779
commit
eac3531f31
1 changed files with 1 additions and 5 deletions
|
|
@ -53,13 +53,9 @@ class BrowserCacheDecorator(FetcherDecorator):
|
|||
if usecache:
|
||||
try:
|
||||
d = self.cache.get_data(url)
|
||||
|
||||
## XXX - should there be a fail counter / limit for
|
||||
## cases of pointing to wrong cache/etc?
|
||||
|
||||
parsedUrl = urlparse(url)
|
||||
|
||||
sleeptries = [ 2, 5 ]
|
||||
sleeptries = [ 5, 5 ]
|
||||
while( fetcher.getConfig("use_browser_cache_only") and
|
||||
fetcher.getConfig("open_pages_in_browser",False) and
|
||||
not d and sleeptries
|
||||
|
|
|
|||
Loading…
Reference in a new issue