We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a445a79 + 143b5be commit b0826aaCopy full SHA for b0826aa
1 file changed
web/strategy-switch-console/worker.js
@@ -30,7 +30,7 @@ const AUDIT_LOG_KEY = "audit_log";
30
const AUDIT_LOG_LIMIT = 50;
31
const CURRENT_STRATEGIES_TIMEOUT_MS = 25000;
32
const CURRENT_STRATEGIES_CACHE_KEY = "current_strategies_cache";
33
-const CURRENT_STRATEGIES_CACHE_TTL_MS = 120_000; // 2 min — return cached data without refresh
+const CURRENT_STRATEGIES_CACHE_TTL_MS = 5_000; // 5 sec — rapid refresh during active development
34
const CURRENT_STRATEGIES_STALE_TTL_MS = 600_000; // 10 min — return stale + background refresh
35
const GITHUB_API_TIMEOUT_MS = 8000;
36
0 commit comments