fix: refresh vehicle asset statistics every 5 seconds
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
shishengliang
2026-09-22 19:50:58 +08:00
parent 96b64a7872
commit 9b0980e349
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -278,7 +278,7 @@ export const FLOW_STATS_SQL = `
ORDER BY flow.event_time DESC, flow.id DESC
`;
const CACHE_TTL = 60 * 1000;
const CACHE_TTL = 5 * 1000;
export class VehicleRepository {
private cachedVehicles: Vehicle[] = [];