mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 14:54:33 +00:00
rm cache life in layout
This commit is contained in:
@@ -41,10 +41,6 @@ import { unstable_cacheLife as cacheLife } from "next/cache";
|
||||
import { PROVIDER_MAPPING } from "./idp";
|
||||
|
||||
const SESSION_LIFETIME_S = 3600; // TODO load from oidc settings
|
||||
const CACHE_REVALIDATION_INTERVAL_IN_SECONDS = process.env
|
||||
.CACHE_REVALIDATION_INTERVAL_IN_SECONDS
|
||||
? Number(process.env.CACHE_REVALIDATION_INTERVAL_IN_SECONDS)
|
||||
: 3600;
|
||||
|
||||
const transport = createServerTransport(
|
||||
process.env.ZITADEL_SERVICE_USER_TOKEN!,
|
||||
|
||||
Reference in New Issue
Block a user