mirror of
https://github.com/zulip/zulip.git
synced 2025-11-16 03:41:58 +00:00
documentation_crawler: Set a 15 second download timeout.
By default it just hangs for as long as the server keeps the connection open. Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
committed by
Tim Abbott
parent
c59747360a
commit
4f28b88746
@@ -15,6 +15,7 @@ SPIDER_MODULES = ['documentation_crawler.spiders']
|
|||||||
NEWSPIDER_MODULE = 'documentation_crawler.spiders'
|
NEWSPIDER_MODULE = 'documentation_crawler.spiders'
|
||||||
COMMANDS_MODULE = 'documentation_crawler.commands'
|
COMMANDS_MODULE = 'documentation_crawler.commands'
|
||||||
LOG_LEVEL = 'WARNING'
|
LOG_LEVEL = 'WARNING'
|
||||||
|
DOWNLOAD_TIMEOUT = 15
|
||||||
|
|
||||||
|
|
||||||
# Crawl responsibly by identifying yourself (and your website) on the user-agent
|
# Crawl responsibly by identifying yourself (and your website) on the user-agent
|
||||||
|
|||||||
Reference in New Issue
Block a user