summaryrefslogtreecommitdiff
path: root/plugins/kv/memory/config.go
diff options
context:
space:
mode:
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
}