mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-01 11:26:29 +02:00
16 lines
375 B
Go
16 lines
375 B
Go
package registry
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
const (
|
|
// callAfterTTLFactor will request to report back again after TTL/callAfterTTLFactor time
|
|
callAfterTTLFactor = 2
|
|
// purgeAfterTTLFactor will purge keys with TTL * purgeAfterTTLFactor time
|
|
purgeAfterTTLFactor = 1
|
|
// min reporting ttl
|
|
minTTL = time.Second
|
|
// path metrics are available at
|
|
defaultMetricsPath = "/metrics"
|
|
)
|