diff --git a/ytdlbot/tasks.py b/ytdlbot/tasks.py index 4fd63f2b..fed004e4 100644 --- a/ytdlbot/tasks.py +++ b/ytdlbot/tasks.py @@ -51,7 +51,6 @@ from limit import Payment from utils import ( apply_log_formatter, - auto_restart, customize_logger, get_metadata, get_revision, @@ -530,7 +529,7 @@ def run_celery(): threading.Thread(target=run_celery, daemon=True).start() scheduler = BackgroundScheduler(timezone="Europe/London") - scheduler.add_job(auto_restart, "interval", seconds=900) + # scheduler.add_job(auto_restart, "interval", seconds=900) scheduler.start() idle()