Compare commits

...
1 Commits
Author SHA1 Message Date
Mike Reeves 3743173c88 Start the queue with Valkey settings and a longer stop timeout 2026-11-25 10:14:36 -05:00
2 changed files with 6 additions and 4 deletions

No files matched your search

+3 -1
View File
@@ -19,6 +19,8 @@ so-redis:
docker_container.running:
- image: {{ GLOBALS.registry_host }}:5000/{{ GLOBALS.image_repo }}/so-redis:{{ GLOBALS.so_version }}
- restart_policy: unless-stopped
- shutdown_timeout: 180
- stop_timeout: 180
- hostname: so-redis
- user: socore
- networks:
@@ -60,7 +62,7 @@ so-redis:
- {{ ULIMIT.name }}={{ ULIMIT.soft }}:{{ ULIMIT.hard }}
{% endfor %}
{% endif %}
- entrypoint: "redis-server /usr/local/etc/redis/redis.conf"
- entrypoint: "redis-server /usr/local/etc/redis/redis.conf --rdb-version-check relaxed"
- watch:
- cmd: ca_trust_extract
- file: trusttheca
+3 -3
View File
@@ -9,9 +9,9 @@ export REDISCLI_AUTH={{ REDIS_PASS }}
# if this script isn't already running
if [[ ! "`pidof -x $(basename $0) -o %PPID`" ]]; then
UNPARSED=$(redis-cli llen logstash:unparsed | awk '{print $1}')
PARSED=$(redis-cli llen logstash:parsed | awk '{print $1}')
MEM_USED=$(redis-cli info memory | grep used_memory_peak_perc | cut -d ":" -f2 | sed "s/%//")
UNPARSED=$(valkey-cli llen logstash:unparsed | awk '{print $1}')
PARSED=$(valkey-cli llen logstash:parsed | awk '{print $1}')
MEM_USED=$(valkey-cli info memory | grep used_memory_peak_perc | cut -d ":" -f2 | sed "s/%//")
echo "redisqueue unparsed=$UNPARSED,parsed=$PARSED,mem_used=$MEM_USED"