summaryrefslogtreecommitdiff
path: root/plugins/factory/tests/plugin_2.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/factory/tests/plugin_2.go')
-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,
},
}