mirror of
https://github.com/siderolabs/discovery-service.git
synced 2025-03-14 09:55:08 +00:00
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>
15 lines
558 B
Go
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")
|
|
)
|