From 296efdbd1ba3b90fd34c94c118cc78fa9974fd03 Mon Sep 17 00:00:00 2001 From: BennyThink Date: Sat, 12 Mar 2022 15:16:30 +0800 Subject: [PATCH] update supervisor conf --- conf/supervisor_main.conf | 2 ++ conf/supervisor_worker.conf | 2 ++ 2 files changed, 4 insertions(+) diff --git a/conf/supervisor_main.conf b/conf/supervisor_main.conf index 5a6c992..cd2130c 100644 --- a/conf/supervisor_main.conf +++ b/conf/supervisor_main.conf @@ -16,6 +16,8 @@ command=python ytdl_bot.py autorestart=true priority=900 stopasgroup=true +startsecs = 5 +startretries = 5 redirect_stderr=true stdout_logfile_maxbytes = 50MB diff --git a/conf/supervisor_worker.conf b/conf/supervisor_worker.conf index 6c4dccf..545bde7 100644 --- a/conf/supervisor_worker.conf +++ b/conf/supervisor_worker.conf @@ -12,6 +12,8 @@ command=python tasks.py autorestart=true priority=900 stopasgroup=true +startsecs = 5 +startretries = 5 redirect_stderr=true stdout_logfile_maxbytes = 50MB