Skip to content

Commit

Permalink
chore: reset serialization_max_chunk_size to 0 (#3432)
Browse files Browse the repository at this point in the history
* reset serialization_max_chunk_size to 0
* reword flag information

---------

Signed-off-by: kostas <[email protected]>
  • Loading branch information
kostasrim authored Aug 5, 2024
1 parent 9eacedf commit 3f08a60
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/server/snapshot.cc
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@
#include "util/fibers/synchronization.h"

using facade::operator""_MB;
ABSL_FLAG(size_t, serialization_max_chunk_size, 10_MB, "Total bytes before flushing big entries");
ABSL_FLAG(size_t, serialization_max_chunk_size, 0,
"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");

namespace dfly {

Expand Down

0 comments on commit 3f08a60

Please sign in to comment.