Skip to content

Commit

Permalink
make MaxUUIDsPerWriteRequest constant
Browse files Browse the repository at this point in the history
  • Loading branch information
tgross committed Feb 9, 2023
1 parent 99d78e5 commit 07e5e9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nomad/structs/uuid.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ package structs
// within a single write request. This is to ensure that the Raft message does
// not become too large. The resulting value corresponds to 0.25MB of IDs or
// 7282 UUID strings.
var MaxUUIDsPerWriteRequest = (1024 * 256) / 36
const MaxUUIDsPerWriteRequest = 7822 // (1024 * 256) / 36

0 comments on commit 07e5e9e

Please sign in to comment.