Skip to content

Commit

Permalink
Set redis max age.
Browse files Browse the repository at this point in the history
  • Loading branch information
telackey committed Aug 29, 2023
1 parent 0c5ca81 commit 5033224
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/data/config/mainnet-eth-api-proxy/ethpxy.env
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 5033224

Please sign in to comment.