18 lines
792 B
Plaintext
18 lines
792 B
Plaintext
|
|
# Redis Database Template (REAL from wuji)
|
||
|
|
# Extracted from wuji production: /workspace/infra/wuji/taskservs/redis.k
|
||
|
|
|
||
|
|
import taskservs.databases.redis.kcl.redis as redis
|
||
|
|
|
||
|
|
# Real wuji Redis configuration
|
||
|
|
_redis_taskserv = redis.Redis {
|
||
|
|
version = "7.2.3" # REAL: exact version from wuji
|
||
|
|
port = 6379 # REAL: standard port
|
||
|
|
maxmemory = "512mb" # REAL: memory limit from wuji
|
||
|
|
maxmemory_policy = "allkeys-lru" # REAL: eviction policy
|
||
|
|
persistence = True # REAL: persistence enabled
|
||
|
|
bind_address = "0.0.0.0" # REAL: bind to all interfaces
|
||
|
|
loglevel = "notice" # REAL: log level
|
||
|
|
tcp_keepalive = 300 # REAL: keepalive setting
|
||
|
|
}
|
||
|
|
|
||
|
|
_redis_taskserv
|