Module: check_mk
Branch: master
Commit: 27258bd1db2a324654f98ba02d73832f463d72cd
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=27258bd1db2a32…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Oct 28 09:00:18 2016 +0200
Bulk discovery: Reduce timeout for automation to get the exception instead of a request
timeout
---
web/htdocs/wato.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index 08d0f17..7c4997a 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -3438,7 +3438,7 @@ def mode_bulk_discovery(phase):
if not html.get_checkbox("ignore_errors"):
arguments = [ "@raiseerrors" ] + arguments
- timeout = html.request_timeout()
+ timeout = html.request_timeout() - 2
unlock_exclusive() # Avoid freezing WATO when hosts do not respond
timely
counts, failed_hosts = check_mk_automation(site_id,
"inventory",