From 8aa3d83f8c9471519a02f7779219238340fb86f8 Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Tue, 16 Feb 2021 22:08:50 +0300 Subject: Add support for parsing env variables in the `.rr.yaml` config Signed-off-by: Valery Piashchynski --- pkg/pool/supervisor_pool.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pkg/pool') 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++ { -- cgit v1.2.3