summaryrefslogtreecommitdiff
path: root/pkg/pool/supervisor_pool.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-02-16 22:08:50 +0300
committerValery Piashchynski <[email protected]>2021-02-16 22:08:50 +0300
commit8aa3d83f8c9471519a02f7779219238340fb86f8 (patch)
tree1d74b888a3793e3b3ac699913da45a603afe1625 /pkg/pool/supervisor_pool.go
parentbb9dd8d3f46da089217e61efc3f058cfbba5ede3 (diff)
Add support for parsing env variables in the `.rr.yaml` config
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'pkg/pool/supervisor_pool.go')
-rwxr-xr-xpkg/pool/supervisor_pool.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/pool/supervisor_pool.go b/pkg/pool/supervisor_pool.go
index 3618786d..bfb997d8 100755
--- a/pkg/pool/supervisor_pool.go
+++ b/pkg/pool/supervisor_pool.go
@@ -139,7 +139,8 @@ func (sp *supervised) control() {
now := time.Now()
const op = errors.Op("supervised_pool_control_tick")
- // THIS IS A COPY OF WORKERS
+ // MIGHT BE OUTDATED
+ // It's a copy of the Workers pointers
workers := sp.pool.Workers()
for i := 0; i < len(workers); i++ {