Andrey Smirnov 619546696a feat: enable vtprotobuf, watch batching, more limits
Fixes #5

Batch watch responses in a single batch so that client can quickly know
that initial snapshot got delivered.

Bump go.mod deps.

Implement more limits.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
2021-09-23 17:58:45 +03:00

15 lines
558 B
Go

// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
package state
import "fmt"
var (
// ErrTooManyAffiliates is raised when there are too many affiliates in the cluster.
ErrTooManyAffiliates = fmt.Errorf("too many affiliates in the cluster")
// ErrTooManyEndpoints is raised when there are too many endpoints in the affiliate.
ErrTooManyEndpoints = fmt.Errorf("too many endpoints in the affiliate")
)