rm cache life in layout

This commit is contained in:
Max Peintner
2024-11-22 11:40:21 +01:00
parent 2cb726776e
commit 58dbcdc3aa
3 changed files with 1 additions and 7 deletions

View File

@@ -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!,