diff options
Diffstat (limited to 'internal/configuration/schema/const.go')
| -rw-r--r-- | internal/configuration/schema/const.go | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/internal/configuration/schema/const.go b/internal/configuration/schema/const.go index 2ffde0e2c..52c92d591 100644 --- a/internal/configuration/schema/const.go +++ b/internal/configuration/schema/const.go @@ -44,18 +44,15 @@ const ( // ErrTLSVersionNotSupported returned when an unknown TLS version supplied. var ErrTLSVersionNotSupported = errors.New("supplied tls version isn't supported") -// ProfileRefreshDisabled represents a Value for refresh_interval that disables the check entirely. -const ProfileRefreshDisabled = "disable" - const ( // ProfileRefreshAlways represents a value for refresh_interval that's the same as 0ms. ProfileRefreshAlways = "always" - // RefreshIntervalDefault represents the default value of refresh_interval. - RefreshIntervalDefault = "5m" + // ProfileRefreshDisabled represents a Value for refresh_interval that disables the check entirely. + ProfileRefreshDisabled = "disable" - // RefreshIntervalAlways represents the duration value refresh interval should have if set to always. - RefreshIntervalAlways = 0 * time.Millisecond + // RefreshIntervalDefault represents the default value of refresh_interval. + RefreshIntervalDefault = time.Minute * 5 ) const ( |
