add 60s timeout to bot commands to prevent lockups

This commit is contained in:
Tomáš Mládek 2021-09-22 23:57:06 +02:00
parent a5068e4b64
commit cf19301f96

View file

@ -179,6 +179,7 @@ class KollagenBot:
shell_cmd_line, shell_cmd_line,
check=True, check=True,
capture_output=True, capture_output=True,
timeout=60,
) )
ntf.seek(0) ntf.seek(0)