mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-10 18:05:44 +02:00
server: enable big value serialization by default (#4581)
Signed-off-by: adi_holden <adi@dragonflydb.io>
This commit is contained in:
parent
df48913056
commit
1e15e55cee
2 changed files with 3 additions and 2 deletions
2
helio
2
helio
|
@ -1 +1 @@
|
||||||
Subproject commit b18d7396336020a20c234b9dfdbf86421dfa6208
|
Subproject commit fd878df26816efc6ead76105b2f2d51e9a828b60
|
|
@ -64,6 +64,7 @@ extern "C" {
|
||||||
#include "util/varz.h"
|
#include "util/varz.h"
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
using facade::operator""_KB;
|
||||||
using facade::ErrorReply;
|
using facade::ErrorReply;
|
||||||
|
|
||||||
ABSL_FLAG(int32_t, port, 6379,
|
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 "
|
"DENYOOM will fail with OOM error and new connections to non-admin port will be "
|
||||||
"rejected. Negative value disables this feature.");
|
"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 "
|
"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 "
|
"sync. Values bigger than this threshold will be serialized using streaming "
|
||||||
"serialization. 0 - to disable streaming mode");
|
"serialization. 0 - to disable streaming mode");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue