Browse Source

morss: respect timeout settings in all cases

Special treatment of feed fetch not justified and not documented
master
pictuga 2 weeks ago
parent
commit
eb47aac6f1
  1. 2
      morss/morss.py

2
morss/morss.py

@ -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…
Cancel
Save