new: Use valkey is possible

main
Raphaël Vinot 2024-05-27 14:05:35 +02:00
parent 55c0dcc0a3
commit 9bfe809f83
2 changed files with 1366 additions and 392 deletions

1741
cache/cache.conf vendored

File diff suppressed because it is too large Load Diff

9
cache/run_redis.sh vendored
View File

@ -3,4 +3,11 @@
set -e set -e
set -x set -x
../../redis/src/redis-server ./cache.conf if [ -f ../../valkey/src/valkey-server ]; then
../../valkey/src/valkey-server ./cache.conf
elif [ -f ../../redis/src/redis-server ]; then
../../redis/src/redis-server ./cache.conf
else
echo "Warning: using system redis-server. Valkey-server or redis-server from source is recommended." >&2
/usr/bin/redis-server ./cache.conf
fi