summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-01-15 14:22:02 +0300
committerValery Piashchynski <[email protected]>2021-01-15 14:22:02 +0300
commite68c8e2eb9ea705e9d846023d545410c7613de64 (patch)
tree4fe8eadc1e7af49f1f282782ac1b7f2283fb63ea /plugins
parentf7d5f8fb3d14519dc89e346d6b2fc67c1837da5f (diff)
Use uniform snake case in the configs, fix critical issue with wrong
calculation of workers in stack at the Destroy stage
Diffstat (limited to 'plugins')
-rw-r--r--plugins/server/config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/server/config.go b/plugins/server/config.go
index 93b19226..92e6780a 100644
--- a/plugins/server/config.go
+++ b/plugins/server/config.go
@@ -23,7 +23,7 @@ type Config struct {
Relay string `mapstructure:"relay"`
// RelayTimeout defines for how long socket factory will be waiting for worker connection. This config section
// must not change on re-configuration. Defaults to 60s.
- RelayTimeout time.Duration `mapstructure:"relayTimeout"`
+ RelayTimeout time.Duration `mapstructure:"relay_timeout"`
} `mapstructure:"server"`
RPC *struct {