tune server load defaults
This commit is contained in:
parent
fb25b5ac97
commit
d645f80dff
8 changed files with 173 additions and 35 deletions
|
|
@ -143,8 +143,8 @@ LIVE_LIMIT_CLASSIFIER_HITS=300
|
|||
LIVE_LIMIT_ALERTS=300
|
||||
LIVE_LIMIT_INFERRED_DARK=300
|
||||
LIVE_SCOPED_CACHE_MAX_KEYS=32
|
||||
LIVE_REDIS_FLUSH_INTERVAL_MS=250
|
||||
LIVE_REDIS_FLUSH_MAX_ITEMS=100
|
||||
LIVE_REDIS_FLUSH_INTERVAL_MS=1000
|
||||
LIVE_REDIS_FLUSH_MAX_ITEMS=500
|
||||
|
||||
# Compute and ingest cache retention
|
||||
ROLLING_CACHE_FLUSH_INTERVAL_MS=30000
|
||||
|
|
|
|||
|
|
@ -155,7 +155,7 @@ services:
|
|||
redis:
|
||||
image: redis:7.2
|
||||
restart: unless-stopped
|
||||
command: ["redis-server", "--appendonly", "yes"]
|
||||
command: ["redis-server", "--appendonly", "no"]
|
||||
volumes:
|
||||
- ${ISLANDFLOW_DATA_ROOT:-/var/lib/islandflow}/redis:/data
|
||||
healthcheck:
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ bind 127.0.0.1
|
|||
protected-mode yes
|
||||
port 6379
|
||||
dir /var/lib/islandflow/redis
|
||||
appendonly yes
|
||||
appendonly no
|
||||
save 900 1
|
||||
save 300 10
|
||||
save 60 10000
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue