diff --git a/.env.example b/.env.example index 8ec9c60..f5c2014 100644 --- a/.env.example +++ b/.env.example @@ -1,4 +1,4 @@ -IPTV_ENV=prod +IPTV_ENV=dev KEYDB_UID=1000 KEYDB_GID=1000 diff --git a/docker/keydb/keydb.conf b/docker/keydb/keydb.conf index 390fca8..56b697e 100644 --- a/docker/keydb/keydb.conf +++ b/docker/keydb/keydb.conf @@ -302,9 +302,8 @@ always-show-logo yes # # save "" -save 900 1 -save 300 10 -save 60 10000 +save 900 10 +save 300 100 # By default Redis will stop accepting writes if RDB snapshots are enabled # (at least one save point) and the latest background save failed. @@ -886,8 +885,8 @@ maxmemory 1073741824 # getset mset msetnx exec sort # # The default is: -# -# maxmemory-policy noeviction + +maxmemory-policy allkeys-lru # LRU, LFU and minimal TTL algorithms are not precise algorithms but approximated # algorithms (in order to save memory), so you can tune it for speed or