diff options
| -rw-r--r-- | upstream-config-templates/zen_config.lua.j2 | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/upstream-config-templates/zen_config.lua.j2 b/upstream-config-templates/zen_config.lua.j2 index 3cb0f8331..64d46422b 100644 --- a/upstream-config-templates/zen_config.lua.j2 +++ b/upstream-config-templates/zen_config.lua.j2 @@ -15,9 +15,10 @@ network = { }
gc = {
- intervalseconds = 86400,
+ intervalseconds = 28800, -- every 8 hour
+ lightweight-interval-seconds = 3600, -- every hour
cache = {
- maxdurationseconds = 864000,
+ maxdurationseconds = 864000, -- 10 days
}
}
@@ -37,4 +38,9 @@ cache = { ddcnamespace = "ue.ddc",
}
}
-}
\ No newline at end of file + memlayer = {
+ targetfootprint = 1073741824, -- 1 GB
+ triminterval = 120, -- max every 2 minutes
+ maxage = 172800, -- 2 days
+ }
+}
|