registry: implement redis backend (#2179)

This commit is contained in:
Caleb Doxsey 2021-05-10 10:33:37 -06:00 committed by GitHub
parent 28155314e9
commit a54d43b937
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 772 additions and 64 deletions

View 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
)