summaryrefslogtreecommitdiff
path: root/plugins/http/plugin.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-01-26 11:52:03 +0300
committerGitHub <[email protected]>2021-01-26 11:52:03 +0300
commite2266b80db47444ba5858c736833a8a81b1361ad (patch)
tree37e06810352752f88032f7d0eadb554fa18b98da /plugins/http/plugin.go
parentfae4711e3548bfd2e34f13aabfaab6a5b4e317c6 (diff)
parenta392d962508e1bc9e497c8c4ef021425bc2c67c2 (diff)
Merge pull request #502 from spiral/plugin/temporalv2.0.0-beta12
plugin(temporal): Add temporal plugins set to the RR2
Diffstat (limited to 'plugins/http/plugin.go')
-rw-r--r--plugins/http/plugin.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/http/plugin.go b/plugins/http/plugin.go
index 4d64ac6d..3672f5ac 100644
--- a/plugins/http/plugin.go
+++ b/plugins/http/plugin.go
@@ -34,7 +34,7 @@ const (
PluginName = "http"
// RR_HTTP env variable key (internal) if the HTTP presents
- RR_HTTP = "RR_HTTP" //nolint:golint,stylecheck
+ RR_MODE = "RR_MODE" //nolint:golint,stylecheck
// HTTPS_SCHEME
HTTPS_SCHEME = "https" //nolint:golint,stylecheck
@@ -101,7 +101,7 @@ func (s *Plugin) Init(cfg config.Configurer, log logger.Logger, server server.Se
s.cfg.Env = make(map[string]string)
}
- s.cfg.Env[RR_HTTP] = "true"
+ s.cfg.Env[RR_MODE] = "http"
s.pool, err = server.NewWorkerPool(context.Background(), pool.Config{
Debug: s.cfg.Pool.Debug,