hourly refresh
Build and Push Docker Image / build (push) Successful in 43s

This commit is contained in:
2026-05-28 00:54:54 -05:00
parent 72847daaf7
commit 0d077b558e
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -112,7 +112,7 @@ The container will:
- Start Flask on port **8000** - Start Flask on port **8000**
- Create `/data/dashboard.db` inside the container (mapped to `./data/` on the host) - Create `/data/dashboard.db` inside the container (mapped to `./data/` on the host)
- If env-var credentials are set, seed a "Default" controller and sync its users - If env-var credentials are set, seed a "Default" controller and sync its users
- Schedule a user-cache refresh every 6 hours for every enabled controller - Schedule a user-cache refresh every hour for every enabled controller
Verify it's running: Verify it's running:
@@ -240,7 +240,7 @@ reverse proxy with auth in front of it.
| Names show as `Unknown (xxxxxxxx...)` | Users not synced yet for that controller | Click **Sync** in the Controllers modal | | Names show as `Unknown (xxxxxxxx...)` | Users not synced yet for that controller | Click **Sync** in the Controllers modal |
| Webhook URL stored in controller points to the wrong address | Browser's origin isn't reachable from the controller | Set `DASHBOARD_BASE_URL` in `.env`, remove + re-add the controller | | Webhook URL stored in controller points to the wrong address | Browser's origin isn't reachable from the controller | Set `DASHBOARD_BASE_URL` in `.env`, remove + re-add the controller |
| `Port 12445 connection refused` | Firewall blocking port | Add LAN IN firewall rule in UniFi Network (Step 1) | | `Port 12445 connection refused` | Firewall blocking port | Add LAN IN firewall rule in UniFi Network (Step 1) |
| Dashboard shows stale names after a user rename | Cache not refreshed | Click **Sync Users** or wait for the 6-hour auto-sync | | Dashboard shows stale names after a user rename | Cache not refreshed | Click **Sync Users** or wait for the hourly auto-sync |
--- ---
+1 -1
View File
@@ -607,7 +607,7 @@ with app.app_context():
sync_all_controllers() sync_all_controllers()
scheduler = BackgroundScheduler() scheduler = BackgroundScheduler()
scheduler.add_job(sync_all_controllers, "interval", hours=6) scheduler.add_job(sync_all_controllers, "interval", hours=1)
scheduler.start() scheduler.start()
if __name__ == "__main__": if __name__ == "__main__":