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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

2
helio

@ -1 +1 @@
Subproject commit b18d7396336020a20c234b9dfdbf86421dfa6208
Subproject commit fd878df26816efc6ead76105b2f2d51e9a828b60

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");