Skip to content

Commit

Permalink
dragonboat: fixed some missing settings
Browse files Browse the repository at this point in the history
  • Loading branch information
lni committed Dec 7, 2019
1 parent 928d79d commit f6c378a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/settings/soft.go
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ func getDefaultSoftSettings() soft {
BatchedEntryApply: true,
LocalRaftRequestTimeoutMs: 10000,
GetConnectedTimeoutSecond: 5,
MaxEntrySize: 2 * MaxProposalPayloadSize,
InMemGCTimeout: 100,
InMemEntrySliceSize: 512,
MinEntrySliceFreeSize: 96,
Expand All @@ -254,6 +255,8 @@ func getDefaultSoftSettings() soft {
MaxDrummerClientMsgSize: 256 * 1024 * 1024,
MaxDrummerServerMsgSize: 256 * 1024 * 1024,
StreamConnections: 4,
PerConnectionBufferSize: 64 * 1024 * 1024,
PerCpnnectionRecvBufSize: 64 * 1024,
SnapshotGCTick: 30,
SnapshotChunkTimeoutTick: 900,
DrummerClientName: "drummer-client",
Expand Down

0 comments on commit f6c378a

Please sign in to comment.