diff options
author | Valery Piashchynski <[email protected]> | 2021-01-07 13:29:07 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-01-07 13:29:07 +0300 |
commit | 21689afbc5f717274cd608358ffca3bdacb38f69 (patch) | |
tree | 159ddd2b154a5afbec5dedc75a1a94c5a83ebfae /plugins/kv/memory/config.go | |
parent | c1465d3bcdf24a78440300aa51e7cfc92ce874a8 (diff) |
Fix compatibility issues, add tests to the CI
Diffstat (limited to 'plugins/kv/memory/config.go')
-rw-r--r-- | plugins/kv/memory/config.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/kv/memory/config.go b/plugins/kv/memory/config.go index 329e7fff..0816f734 100644 --- a/plugins/kv/memory/config.go +++ b/plugins/kv/memory/config.go @@ -4,9 +4,12 @@ package memory type Config struct { // Enabled or disabled (true or false) Enabled bool + // Interval for the check + Interval int } // InitDefaults by default driver is turned off func (c *Config) InitDefaults() { c.Enabled = false + c.Interval = 60 // seconds } |