morss: respect timeout settings in all cases
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
Special treatment of feed fetch not justified and not documentedmaster
parent
eca546b890
commit
eb47aac6f1
|
@ -275,7 +275,7 @@ def FeedFetch(url, options):
|
|||
policy = None
|
||||
|
||||
try:
|
||||
req = crawler.adv_get(url=url, post=options.post, follow=('rss' if not options.items else None), policy=policy, force_min=5*60, force_max=60*60, timeout=TIMEOUT * 2)
|
||||
req = crawler.adv_get(url=url, post=options.post, follow=('rss' if not options.items else None), policy=policy, force_min=5*60, force_max=60*60, timeout=TIMEOUT)
|
||||
|
||||
except (IOError, HTTPException):
|
||||
raise MorssException('Error downloading feed')
|
||||
|
|
Loading…
Reference in New Issue