mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-10 08:38:28 +00:00
fix: [crawler] fix ResponseNeverReceived retry time
This commit is contained in:
parent
abfad61581
commit
2c30f1edf9
1 changed files with 2 additions and 2 deletions
|
@ -259,8 +259,8 @@ class TorSplashCrawler():
|
|||
|
||||
# Check if Splash restarted
|
||||
if not crawlers.is_splash_reachable(self.splash_url):
|
||||
self.logger.error('Splash, ResponseNeverReceived for %s, retry in 20s ...', url)
|
||||
time.sleep(10)
|
||||
self.logger.error('Splash, ResponseNeverReceived for %s, retry in 30s ...', url)
|
||||
time.sleep(30)
|
||||
|
||||
yield SplashRequest(
|
||||
url,
|
||||
|
|
Loading…
Reference in a new issue