morss: respect timeout settings in all cases
continuous-integration/drone/push Build is failing Details

Special treatment of feed fetch not justified and not documented
master
pictuga 2021-11-25 22:13:38 +01:00
parent eca546b890
commit eb47aac6f1
1 changed files with 1 additions and 1 deletions

View File

@ -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')