-
Notifications
You must be signed in to change notification settings - Fork 600
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
500 Internal Server Error #65
Comments
You can create a bash script that restarts server.py every hour or so with:
Thus, the error no longer occurred for me. |
Alternativ as Python script to unify the codebase: import subprocess
import time
while True:
# Launch Script
subprocess.Popen(["python3", "server.py"])
# Wait 1 hour
time.sleep(3600)
# Kill it
subprocess.call(["pkill", "-f", "server.py"]) |
having this issue multiple times, please help if you can |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
How can I fix it so that this error no longer occurs after a long period of inactivity?
The text was updated successfully, but these errors were encountered: