Enable cache, correct deployment profile

This commit is contained in:
Salt 2020-04-30 10:47:55 -05:00
parent 347db1aba4
commit e4eabcb32e

View File

@ -9,7 +9,7 @@ APP_NAME = git.9iron.com
; Change it if you run locally
RUN_USER = git
; Either "dev", "prod" or "test", default is "dev"
RUN_MODE = proid
RUN_MODE = prod
[repository]
ROOT =
@ -652,9 +652,9 @@ SENDMAIL_ARGS =
[cache]
; if the cache enabled
ENABLED = false
ENABLED = true
; Either "memory", "redis", or "memcache", default is "memory"
ADAPTER = redis
ADAPTER = memory
; For "memory" only, GC interval in seconds, default is 60
INTERVAL = 60
; For "redis" and "memcache", connection host address
@ -668,7 +668,7 @@ ITEM_TTL = 16h
; Last commit cache
[cache.last_commit]
; if the cache enabled
ENABLED = false
ENABLED = true
; Time to keep items in cache if not used, default is 8760 hours.
; Setting it to 0 disables caching
ITEM_TTL = 8760h