mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-01 16:01:26 +02:00
registry: implement redis backend (#2179)
This commit is contained in:
parent
28155314e9
commit
a54d43b937
21 changed files with 772 additions and 64 deletions
|
@ -1,14 +1,8 @@
|
|||
package registry
|
||||
|
||||
import (
|
||||
"time"
|
||||
)
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue