aboutsummaryrefslogtreecommitdiff
path: root/upstream-config-templates/zen_config.lua.j2
blob: 2fe7a18c74cf67f34c89055b8b59e99fb035ae20 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
-- Zen Store Lua config

server = {
	datadir = "d:\\ZenCacheShared",
	abslog = "d:\\local.log",
	debug = false,
}

network = {
	httpserverclass = "httpsys", -- httpsys|asio
	port = 1337,
	meshenabled = false
}

gc = {
    intervalseconds = 86400,
    cache = {
        maxdurationseconds = 864000,
    }
}

cache = {
  enable = true,
  upstream = {
    enable = true,
    upstreamthreadcount = 4,
	  policy = "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",
    }
  }
}