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.
1 parent 076904c commit 9b27d79Copy full SHA for 9b27d79
apps/webapp/app/services/realtime/v1StreamsGlobal.server.ts
@@ -87,7 +87,7 @@ function initializeS2RealtimeStreamsCache() {
87
accessToken: new Namespace<string>(ctx, {
88
stores: [memoryStore, redisCacheStore],
89
fresh: Math.floor(env.REALTIME_STREAMS_S2_ACCESS_TOKEN_EXPIRATION_IN_MS / 2),
90
- stale: Math.floor(env.REALTIME_STREAMS_S2_ACCESS_TOKEN_EXPIRATION_IN_MS),
+ stale: Math.floor(env.REALTIME_STREAMS_S2_ACCESS_TOKEN_EXPIRATION_IN_MS / 2 + 60_000),
91
}),
92
});
93
}
0 commit comments