Skip to content

Commit

Permalink
store: reduce default batch-size to 50000
Browse files Browse the repository at this point in the history
250000 is a bit too much for low-mem systems
  • Loading branch information
djcb committed Aug 2, 2023
1 parent 97b9dd6 commit c9f3709
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mu-store.cc
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ constexpr auto ContactsKey = "contacts";
constexpr auto PersonalAddressesKey = "personal-addresses";
constexpr auto CreatedKey = "created";
constexpr auto BatchSizeKey = "batch-size";
constexpr auto DefaultBatchSize = 250'000U;
constexpr auto DefaultBatchSize = 50'000U;

constexpr auto MaxMessageSizeKey = "max-message-size";
constexpr auto DefaultMaxMessageSize = 100'000'000U;
Expand Down

0 comments on commit c9f3709

Please sign in to comment.