mirror of https://github.com/CIRCL/AIL-framework
fix: [crawler] fix ResponseNeverReceived retry time
parent
abfad61581
commit
2c30f1edf9
|
@ -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 New Issue