mirror of
https://github.com/replicatedhq/troubleshoot.git
synced 2026-04-15 07:16:34 +00:00
17 lines
623 B
Go
17 lines
623 B
Go
package constants
|
|
|
|
import "time"
|
|
|
|
const (
|
|
// DEFAULT_CLIENT_QPS indicates the maximum QPS from troubleshoot client.
|
|
DEFAULT_CLIENT_QPS = 100
|
|
// DEFAULT_CLIENT_QPS is maximum burst for throttle.
|
|
DEFAULT_CLIENT_BURST = 100
|
|
// DEFAULT_CLIENT_USER_AGENT is an field that specifies the caller of troubleshoot request.
|
|
DEFAULT_CLIENT_USER_AGENT = "ReplicatedTroubleshoot"
|
|
// VersionFilename is the name of the file that contains the support bundle version.
|
|
VersionFilename = "version.yaml"
|
|
// DEFAULT_LOGS_COLLECTOR_TIMEOUT is the default timeout for logs collector.
|
|
DEFAULT_LOGS_COLLECTOR_TIMEOUT = 60 * time.Second
|
|
)
|