Spaces:
Running
Running
Refactor scheduler interval to run every 1 hour instead of every 30 minutes
Browse files
app.py
CHANGED
@@ -204,6 +204,6 @@ with demo:
|
|
204 |
gr.Markdown("```bib\n" + CITATION_BUTTON_TEXT + "\n```")
|
205 |
|
206 |
scheduler = BackgroundScheduler()
|
207 |
-
scheduler.add_job(restart_space, "interval", seconds=
|
208 |
scheduler.start()
|
209 |
demo.queue(default_concurrency_limit=40).launch()
|
|
|
204 |
gr.Markdown("```bib\n" + CITATION_BUTTON_TEXT + "\n```")
|
205 |
|
206 |
scheduler = BackgroundScheduler()
|
207 |
+
scheduler.add_job(restart_space, "interval", seconds=3600)
|
208 |
scheduler.start()
|
209 |
demo.queue(default_concurrency_limit=40).launch()
|