mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-30 01:37:17 +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
|
# Check if Splash restarted
|
||||||
if not crawlers.is_splash_reachable(self.splash_url):
|
if not crawlers.is_splash_reachable(self.splash_url):
|
||||||
self.logger.error('Splash, ResponseNeverReceived for %s, retry in 20s ...', url)
|
self.logger.error('Splash, ResponseNeverReceived for %s, retry in 30s ...', url)
|
||||||
time.sleep(10)
|
time.sleep(30)
|
||||||
|
|
||||||
yield SplashRequest(
|
yield SplashRequest(
|
||||||
url,
|
url,
|
||||||
|
|
Loading…
Reference in a new issue