mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-04 21:04:37 +08:00
Rename dev-perf-history global
This commit is contained in:
parent
b1a0f28ebf
commit
47b7feef6d
@ -87,8 +87,7 @@ export type PerformanceHistory = {
|
||||
// Global State
|
||||
// ============================================================================
|
||||
|
||||
// Using "dev-perf-history-v2" to invalidate old cached data that doesn't have the pools property
|
||||
const perfHistory = createGlobal<PerformanceHistory>("dev-perf-history-v2", () => ({
|
||||
const perfHistory = createGlobal<PerformanceHistory>("dev-perf-history", () => ({
|
||||
snapshots: [],
|
||||
maxSnapshots: 120, // Keep last 2 minutes at 1-second intervals
|
||||
}));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user