2023-04-10 15:36:59 +00:00
|
|
|
// Copyright (c) HashiCorp, Inc.
|
|
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
2022-07-06 14:30:11 +00:00
|
|
|
package structs
|
|
|
|
|
|
|
|
// MaxUUIDsPerWriteRequest is the maximum number of UUIDs that can be included
|
|
|
|
// 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
|
2023-02-10 14:26:00 +00:00
|
|
|
// 7281 UUID strings.
|
|
|
|
const MaxUUIDsPerWriteRequest = 7281 // (1024 * 256) / 36
|