diff options
author | antirez <antirez@gmail.com> | 2018-05-24 18:04:17 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2018-05-24 18:04:21 +0200 |
commit | 98d5d3f118eebb1d1e86625ab0ff808d019456bb (patch) | |
tree | b1303aace340e3b1e7d0e51717a7934cdf936529 /src/config.c | |
parent | fef42d098508e9ee16a2059252a39b0ce7a87adf (diff) | |
download | redis-98d5d3f118eebb1d1e86625ab0ff808d019456bb.tar.gz |
Make active defragmentation tests optional.
They failed when active defrag could not be activated because the
Jemalloc version does not include the additional APIs.
Diffstat (limited to 'src/config.c')
-rw-r--r-- | src/config.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/config.c b/src/config.c index a1122d059..5bc6aa2ed 100644 --- a/src/config.c +++ b/src/config.c @@ -1031,9 +1031,10 @@ void configSetCommand(client *c) { if (server.active_defrag_enabled) { server.active_defrag_enabled = 0; addReplyError(c, - "Active defragmentation cannot be enabled: it requires a " - "Redis server compiled with a modified Jemalloc like the " - "one shipped by default with the Redis source distribution"); + "-DISABLED Active defragmentation cannot be enabled: it " + "requires a Redis server compiled with a modified Jemalloc " + "like the one shipped by default with the Redis source " + "distribution"); return; } #endif |