Set redis max age.

This commit is contained in:
Thomas E Lackey 2023-08-29 18:22:44 +00:00
parent 0c5ca81f1d
commit 5033224b18

View File

@ -1,7 +1,8 @@
CERC_ETHPXY_LISTEN_PORT=8547
CERC_ETHPXY_LISTEN_ADDR='0.0.0.0'
CERC_ETHPXY_REDIS_URL='redis://mainnet-eth-api-proxy-redis:6379'
CERC_ETHPXY_REDIS_MAX_AGE=120000
CERC_ETHPXY_GETH_WS_URL='ws://mainnet-eth-geth-1:8546'
CERC_ETHPXY_GETH_HTTP_URL='http://mainnet-eth-geth-1:8545'
REDIS_ARGS="--maxmemory-policy allkeys-lru --maxmemory 1G"
REDIS_ARGS="--maxmemory-policy allkeys-lru --maxmemory 1G"