[Request] Use timeout
linux command and init=True
in the docker SDK to make the command timeout for long-lived processes
#1
Labels
In reference to:
src/exec/__init__.py
Currently running an infinite loop will halt the bot.
The timeout command should be able to kill the script if it runs to long. This won't work if the processes ID is 1.
To ensure this works, apparently you need to change lines 15-20 to include
init=True
. I haven't tested this, so I'm not 100% sure.It's worth a shot and could fix a huge bug.
The text was updated successfully, but these errors were encountered: