add 60s timeout to bot commands to prevent lockups

master
Tomáš Mládek 2021-09-22 23:57:06 +02:00
parent a5068e4b64
commit cf19301f96
1 changed files with 1 additions and 0 deletions

View File

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