Enable cache, correct deployment profile
This commit is contained in:
parent
347db1aba4
commit
e4eabcb32e
@ -9,7 +9,7 @@ APP_NAME = git.9iron.com
|
|||||||
; Change it if you run locally
|
; Change it if you run locally
|
||||||
RUN_USER = git
|
RUN_USER = git
|
||||||
; Either "dev", "prod" or "test", default is "dev"
|
; Either "dev", "prod" or "test", default is "dev"
|
||||||
RUN_MODE = proid
|
RUN_MODE = prod
|
||||||
|
|
||||||
[repository]
|
[repository]
|
||||||
ROOT =
|
ROOT =
|
||||||
@ -652,9 +652,9 @@ SENDMAIL_ARGS =
|
|||||||
|
|
||||||
[cache]
|
[cache]
|
||||||
; if the cache enabled
|
; if the cache enabled
|
||||||
ENABLED = false
|
ENABLED = true
|
||||||
; Either "memory", "redis", or "memcache", default is "memory"
|
; Either "memory", "redis", or "memcache", default is "memory"
|
||||||
ADAPTER = redis
|
ADAPTER = memory
|
||||||
; For "memory" only, GC interval in seconds, default is 60
|
; For "memory" only, GC interval in seconds, default is 60
|
||||||
INTERVAL = 60
|
INTERVAL = 60
|
||||||
; For "redis" and "memcache", connection host address
|
; For "redis" and "memcache", connection host address
|
||||||
@ -668,7 +668,7 @@ ITEM_TTL = 16h
|
|||||||
; Last commit cache
|
; Last commit cache
|
||||||
[cache.last_commit]
|
[cache.last_commit]
|
||||||
; if the cache enabled
|
; if the cache enabled
|
||||||
ENABLED = false
|
ENABLED = true
|
||||||
; Time to keep items in cache if not used, default is 8760 hours.
|
; Time to keep items in cache if not used, default is 8760 hours.
|
||||||
; Setting it to 0 disables caching
|
; Setting it to 0 disables caching
|
||||||
ITEM_TTL = 8760h
|
ITEM_TTL = 8760h
|
||||||
|
Loading…
x
Reference in New Issue
Block a user