diff options
author | Wolfy-J <[email protected]> | 2018-05-29 13:07:45 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-05-29 13:07:45 +0300 |
commit | 85b5288c290fd014b76c375fb9ffdf62575e2f2e (patch) | |
tree | 6046b584e15c1d515a8944df44399fde9fd77887 /pool.go | |
parent | b8bc792b263a3891e125757a35cc563bb85f1a0b (diff) |
working on tests
Diffstat (limited to 'pool.go')
-rw-r--r-- | pool.go | 15 |
1 files changed, 9 insertions, 6 deletions
@@ -1,14 +1,17 @@ package roadrunner const ( - // EventCreated thrown when new worker is spawned. - EventCreated = iota + // EventWorkerCreate thrown when new worker is spawned. + EventWorkerCreate = iota - // EventDestruct thrown before worker destruction. - EventDestruct + // EventWorkerDestruct thrown before worker destruction. + EventWorkerDestruct - // EventError thrown any worker related even happen (error passed as context) - EventError + // EventWorkerError thrown any worker related even happen (passed with WorkerError) + EventWorkerError + + // EventPoolError caused on pool wide errors + EventPoolError ) // Pool managed set of inner worker processes. |