Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -178,7 +178,7 @@ def update_hub_stats():
|
|
178 |
executor = ThreadPoolExecutor(max_workers=2)
|
179 |
scheduler = BackgroundScheduler(executors={'default': executor})
|
180 |
scheduler.add_job(update_google_sheet, trigger='interval', minutes=1, max_instances=2)
|
181 |
-
scheduler.add_job(update_hub_stats, trigger='interval', minutes=1, max_instances=2)
|
182 |
scheduler.start()
|
183 |
|
184 |
|
|
|
178 |
executor = ThreadPoolExecutor(max_workers=2)
|
179 |
scheduler = BackgroundScheduler(executors={'default': executor})
|
180 |
scheduler.add_job(update_google_sheet, trigger='interval', minutes=1, max_instances=2)
|
181 |
+
scheduler.add_job(update_hub_stats, trigger='interval', minutes=1.5, max_instances=2)
|
182 |
scheduler.start()
|
183 |
|
184 |
|