diff options
author | Valery Piashchynski <[email protected]> | 2021-04-18 17:35:17 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-04-18 17:35:17 +0300 |
commit | f5210c3f0739c03e9284c857d65dde3d97f3d84d (patch) | |
tree | 3a54f93b823487b5746467f2f4821d1d9ffd0ee5 /plugins/service/plugin.go | |
parent | 4e6dfc00c5619c4e749602d345fd2829ab0a3f07 (diff) |
- Add more comments to the code
Diffstat (limited to 'plugins/service/plugin.go')
-rw-r--r-- | plugins/service/plugin.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/service/plugin.go b/plugins/service/plugin.go index 75e849a3..bc72dbaf 100644 --- a/plugins/service/plugin.go +++ b/plugins/service/plugin.go @@ -49,7 +49,7 @@ func (service *Plugin) Serve() chan error { // create needed number of the processes for i := 0; i < service.cfg.Services[k].ProcessNum; i++ { // create processor structure, which will process all the services - service.processes = append(service.processes, NewFatProcess( + service.processes = append(service.processes, NewServiceProcess( service.cfg.Services[k].RestartAfterExit, service.cfg.Services[k].ExecTimeout, service.cfg.Services[k].RestartDelay, |