summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-10-27 16:15:11 +0300
committerGitHub <[email protected]>2020-10-27 16:15:11 +0300
commit47a570c220a36ae7b770ea594a41637fa31fc8e8 (patch)
treedb4c7e348c6b03c478a907cf89c8baaf68195d73 /plugins
parent105bde0e0c1a7c133d1daa10603ca5ce9a9ade4d (diff)
parent27392d90f3b208adc5215ce876698650a4188463 (diff)
Merge pull request #377 from spiral/feature/pool_supervisor
Feature/pool supervisor
Diffstat (limited to 'plugins')
-rwxr-xr-xplugins/factory/tests/plugin_2.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/factory/tests/plugin_2.go b/plugins/factory/tests/plugin_2.go
index 9f401bec..2311b7bf 100755
--- a/plugins/factory/tests/plugin_2.go
+++ b/plugins/factory/tests/plugin_2.go
@@ -61,11 +61,11 @@ func (f *Foo2) Serve() chan error {
MaxJobs: 100,
AllocateTimeout: time.Second * 10,
DestroyTimeout: time.Second * 10,
- Supervisor: roadrunner.SupervisorConfig{
+ Supervisor: &roadrunner.SupervisorConfig{
WatchTick: 60,
TTL: 1000,
IdleTTL: 10,
- ExecTTL: time.Second * 10,
+ ExecTTL: 10,
MaxWorkerMemory: 1000,
},
}