Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
alozowski
commited on
Commit
•
2e50140
1
Parent(s):
35850da
Fix comment string
Browse files
app.py
CHANGED
@@ -488,6 +488,6 @@ def update_queue(payload: WebhookPayload) -> None:
|
|
488 |
webhooks_server.launch()
|
489 |
|
490 |
scheduler = BackgroundScheduler()
|
491 |
-
scheduler.add_job(restart_space, "interval", hours=1) # Restart every
|
492 |
logging.info("Scheduler initialized to restart space every 1 hour.")
|
493 |
scheduler.start()
|
|
|
488 |
webhooks_server.launch()
|
489 |
|
490 |
scheduler = BackgroundScheduler()
|
491 |
+
scheduler.add_job(restart_space, "interval", hours=1) # Restart every 1h
|
492 |
logging.info("Scheduler initialized to restart space every 1 hour.")
|
493 |
scheduler.start()
|