diff options
author | Valery Piashchynski <[email protected]> | 2021-07-14 17:22:49 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2021-07-14 17:22:49 +0300 |
commit | cea3f6ab9faf80637dd23f6b1ca57c0b3309d98e (patch) | |
tree | c70b7058e1682e93e98c9cf006d3584351d73d3b /pkg/worker_watcher/container | |
parent | 9d018f259b45be9268ae85e089a07f25de894f41 (diff) | |
parent | cb28ad07fadb78e2e77e485cd9b96abeddbf3a5c (diff) |
#749 bug(supervisor, ttl): worker gets into the inconsistent state after TTL was reached
#749 bug(supervisor, ttl): worker gets into the inconsistent state after TTL was reached
Diffstat (limited to 'pkg/worker_watcher/container')
-rw-r--r-- | pkg/worker_watcher/container/vec.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/worker_watcher/container/vec.go b/pkg/worker_watcher/container/vec.go index b9150c43..24b5fa6d 100644 --- a/pkg/worker_watcher/container/vec.go +++ b/pkg/worker_watcher/container/vec.go @@ -13,7 +13,7 @@ type Vec struct { workers chan worker.BaseProcess } -func NewVector(initialNumOfWorkers uint64) Vector { +func NewVector(initialNumOfWorkers uint64) *Vec { vec := &Vec{ destroy: 0, workers: make(chan worker.BaseProcess, initialNumOfWorkers), |