mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-31 09:57:17 +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
8
internal/registry/inmemory/constants.go
Normal file
8
internal/registry/inmemory/constants.go
Normal file
|
@ -0,0 +1,8 @@
|
|||
package inmemory
|
||||
|
||||
const (
|
||||
// callAfterTTLFactor will request to report back again after TTL/callAfterTTLFactor time
|
||||
callAfterTTLFactor = 2
|
||||
// purgeAfterTTLFactor will purge keys with TTL * purgeAfterTTLFactor time
|
||||
purgeAfterTTLFactor = 1
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue