server: enable big value serialization by default (#4581)

Signed-off-by: adi_holden <adi@dragonflydb.io>
This commit is contained in:
adiholden
2025-02-09 18:20:23 +02:00
committed by GitHub
parent df48913056
commit 1e15e55cee
2 changed files with 3 additions and 2 deletions

2
helio

Submodule helio updated: b18d739633...fd878df268

View File

@ -64,6 +64,7 @@ extern "C" {
#include "util/varz.h"
using namespace std;
using facade::operator""_KB;
using facade::ErrorReply;
ABSL_FLAG(int32_t, port, 6379,
@ -110,7 +111,7 @@ ABSL_FLAG(double, rss_oom_deny_ratio, 1.25,
"DENYOOM will fail with OOM error and new connections to non-admin port will be "
"rejected. Negative value disables this feature.");
ABSL_FLAG(size_t, serialization_max_chunk_size, 0,
ABSL_FLAG(size_t, serialization_max_chunk_size, 64_KB,
"Maximum size of a value that may be serialized at once during snapshotting or full "
"sync. Values bigger than this threshold will be serialized using streaming "
"serialization. 0 - to disable streaming mode");