diff options
author | Valery Piashchynski <[email protected]> | 2020-10-27 15:16:55 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2020-10-27 15:16:55 +0300 |
commit | d199ef71b9644afbbba064c317cd0991be1c2443 (patch) | |
tree | f777eb90f10ca0e7dbc46227fc76c61f02111946 /plugins/factory/tests/plugin_2.go | |
parent | 91cf918b30938129609323ded53e190385e019a6 (diff) |
Supervised pool
Diffstat (limited to 'plugins/factory/tests/plugin_2.go')
-rwxr-xr-x | plugins/factory/tests/plugin_2.go | 4 |
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, }, } |