From 5033224b18c7c907cd3f70f68f5c167506178d3a Mon Sep 17 00:00:00 2001 From: Thomas E Lackey Date: Tue, 29 Aug 2023 18:22:44 +0000 Subject: [PATCH] Set redis max age. --- app/data/config/mainnet-eth-api-proxy/ethpxy.env | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/data/config/mainnet-eth-api-proxy/ethpxy.env b/app/data/config/mainnet-eth-api-proxy/ethpxy.env index f96a3586..fd56288a 100644 --- a/app/data/config/mainnet-eth-api-proxy/ethpxy.env +++ b/app/data/config/mainnet-eth-api-proxy/ethpxy.env @@ -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" \ No newline at end of file +REDIS_ARGS="--maxmemory-policy allkeys-lru --maxmemory 1G"