diff options
| author | zousar <[email protected]> | 2023-10-06 17:44:02 -0600 |
|---|---|---|
| committer | zousar <[email protected]> | 2023-10-06 17:44:02 -0600 |
| commit | f6ec160b6254436618780034cc0b8c20a4ba71a2 (patch) | |
| tree | a88bed843fdc4917b4ae2f8cb50b08cbd8dab501 | |
| parent | 0.2.27 (diff) | |
| download | zen-f6ec160b6254436618780034cc0b8c20a4ba71a2.tar.xz zen-f6ec160b6254436618780034cc0b8c20a4ba71a2.zip | |
Fixes to shared server config
Conforming indentation. Fixing lightweight-interval-seconds -> lightweightintervalseconds. Adding missing comma preceding memlayer.
| -rw-r--r-- | upstream-config-templates/zen_config.lua.j2 | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/upstream-config-templates/zen_config.lua.j2 b/upstream-config-templates/zen_config.lua.j2 index 88d5704c6..0417ac318 100644 --- a/upstream-config-templates/zen_config.lua.j2 +++ b/upstream-config-templates/zen_config.lua.j2 @@ -15,32 +15,32 @@ network = { }
gc = {
- intervalseconds = 28800, -- every 8 hour
- lightweight-interval-seconds = 3600, -- every hour
- cache = {
- maxdurationseconds = 864000, -- 10 days
- }
+ intervalseconds = 28800, -- every 8 hour
+ lightweightintervalseconds = 3600, -- every hour
+ cache = {
+ maxdurationseconds = 864000, -- 10 days
+ }
}
cache = {
- enable = true,
- accesslog = false,
- upstream = {
- upstreamthreadcount = 4,
- policy = "disabled", -- readwrite|readonly|writeonly|disabled
- jupiter = {
- name = "DefaultJupiterInstance",
- url = "{{upstream_url}}",
- oauthprovider = "{{upstream_auth_server}}",
- oauthclientid = "{{upstream_client_id}}",
- oauthclientsecret = "{{upstream_auth_token}}",
- namespace = "ue.ddc",
- ddcnamespace = "ue.ddc",
- }
- }
- memlayer = {
- targetfootprint = 1073741824, -- 1 GB
- triminterval = 120, -- max every 2 minutes
- maxage = 172800, -- 2 days
- }
+ enable = true,
+ accesslog = false,
+ upstream = {
+ upstreamthreadcount = 4,
+ policy = "disabled", -- readwrite|readonly|writeonly|disabled
+ jupiter = {
+ name = "DefaultJupiterInstance",
+ url = "{{upstream_url}}",
+ oauthprovider = "{{upstream_auth_server}}",
+ oauthclientid = "{{upstream_client_id}}",
+ oauthclientsecret = "{{upstream_auth_token}}",
+ namespace = "ue.ddc",
+ ddcnamespace = "ue.ddc",
+ }
+ },
+ memlayer = {
+ targetfootprint = 1073741824, -- 1 GB
+ triminterval = 120, -- max every 2 minutes
+ maxage = 172800, -- 2 days
+ }
}
|