Spaces:
Runtime error
Runtime error
Nathan Habib
commited on
Commit
·
6e269e9
1
Parent(s):
8118697
change timemout to restart space to 3h
Browse files
app.py
CHANGED
|
@@ -417,7 +417,7 @@ with demo:
|
|
| 417 |
)
|
| 418 |
|
| 419 |
scheduler = BackgroundScheduler()
|
| 420 |
-
scheduler.add_job(restart_space, "interval", seconds=
|
| 421 |
scheduler.start()
|
| 422 |
|
| 423 |
# Both launches the space and its CI
|
|
|
|
| 417 |
)
|
| 418 |
|
| 419 |
scheduler = BackgroundScheduler()
|
| 420 |
+
scheduler.add_job(restart_space, "interval", seconds=10800)
|
| 421 |
scheduler.start()
|
| 422 |
|
| 423 |
# Both launches the space and its CI
|