Skip to content

Commit

Permalink
fix: batch byte size limit default config error
Browse files Browse the repository at this point in the history
  • Loading branch information
mhmtszr committed Dec 27, 2023
1 parent e69b10a commit 1968c36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func (c *Config) applyDefaultProcess() {
c.Couchbase.BatchSizeLimit = 1000
}

if c.Couchbase.BatchByteSizeLimit == 0 {
if c.Couchbase.BatchByteSizeLimit == nil {
c.Couchbase.BatchByteSizeLimit = helpers.ResolveUnionIntOrStringValue("10mb")
}

Expand Down

0 comments on commit 1968c36

Please sign in to comment.