summaryrefslogtreecommitdiff
path: root/plugins/kv/memory/config.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-01-07 13:29:07 +0300
committerValery Piashchynski <[email protected]>2021-01-07 13:29:07 +0300
commit21689afbc5f717274cd608358ffca3bdacb38f69 (patch)
tree159ddd2b154a5afbec5dedc75a1a94c5a83ebfae /plugins/kv/memory/config.go
parentc1465d3bcdf24a78440300aa51e7cfc92ce874a8 (diff)
Fix compatibility issues, add tests to the CI
Diffstat (limited to 'plugins/kv/memory/config.go')
-rw-r--r--plugins/kv/memory/config.go3
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
}