summaryrefslogtreecommitdiff
path: root/tests/assets/default.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tests/assets/default.conf')
-rw-r--r--tests/assets/default.conf10
1 files changed, 3 insertions, 7 deletions
diff --git a/tests/assets/default.conf b/tests/assets/default.conf
index c6ae1078e..15d70ffbd 100644
--- a/tests/assets/default.conf
+++ b/tests/assets/default.conf
@@ -220,7 +220,7 @@ vm-enabled no
# *** WARNING *** if you are using a shared hosting the default of putting
# the swap file under /tmp is not secure. Create a dir with access granted
# only to Redis user and configure Redis to create the swap file there.
-vm-swap-file /tmp/redis.swap
+vm-swap-file redis.swap
# vm-max-memory configures the VM to use at max the specified amount of
# RAM. Everything that deos not fit will be swapped on disk *if* possible, that
@@ -249,12 +249,8 @@ vm-page-size 32
#
# The total swap size is vm-page-size * vm-pages
#
-# With the default of 32-bytes memory pages and 134217728 pages Redis will
-# use a 4 GB swap file, that will use 16 MB of RAM for the page table.
-#
-# It's better to use the smallest acceptable value for your application,
-# but the default is large in order to work in most conditions.
-vm-pages 134217728
+# 32M swap should be enough for testing.
+vm-pages 1048576
# Max number of VM I/O threads running at the same time.
# This threads are used to read/write data from/to swap file, since they