Browse Source

Fix variable redisMaxMemory dans conf

Teddy Cornaut 8 months ago
parent
commit
c568646a7d
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      tmpl/redis-slave.conf
  2. 1
    1
      tmpl/redis.conf

+ 1
- 1
tmpl/redis-slave.conf View File

@@ -326,7 +326,7 @@ maxclients %%redisMaxClients
326 326
 # limit for maxmemory so that there is some free RAM on the system for slave
327 327
 # output buffers (but this is not needed if the policy is 'noeviction').
328 328
 #
329
-maxmemory %{redisMaxMemory}mb
329
+maxmemory %%{redisMaxMemory}mb
330 330
 
331 331
 # MAXMEMORY POLICY: how Redis will select what to remove when maxmemory
332 332
 # is reached. You can select among five behaviors:

+ 1
- 1
tmpl/redis.conf View File

@@ -320,7 +320,7 @@ maxclients %%redisMaxClients
320 320
 # limit for maxmemory so that there is some free RAM on the system for slave
321 321
 # output buffers (but this is not needed if the policy is 'noeviction').
322 322
 #
323
-maxmemory %{redisMaxMemory}mb
323
+maxmemory %%{redisMaxMemory}mb
324 324
 
325 325
 # MAXMEMORY POLICY: how Redis will select what to remove when maxmemory
326 326
 # is reached. You can select among five behaviors: