nbroad HF staff commited on
Commit
ee874dc
1 Parent(s): 7fa4d7a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -74,7 +74,7 @@ async def check_apis():
74
  @app.on_event("startup")
75
  async def start_scheduler():
76
  scheduler = AsyncIOScheduler()
77
- scheduler.add_job(check_apis, 'interval', minutes=10)
78
  scheduler.start()
79
 
80
  @app.get("/")
 
74
  @app.on_event("startup")
75
  async def start_scheduler():
76
  scheduler = AsyncIOScheduler()
77
+ scheduler.add_job(check_apis, 'interval', minutes=1)
78
  scheduler.start()
79
 
80
  @app.get("/")