Nathan Habib commited on
Commit
6e269e9
1 Parent(s): 8118697

change timemout to restart space to 3h

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -417,7 +417,7 @@ with demo:
417
  )
418
 
419
  scheduler = BackgroundScheduler()
420
- scheduler.add_job(restart_space, "interval", seconds=3600)
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