diff options
author | Valery Piashchynski <[email protected]> | 2021-06-26 14:08:33 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-06-26 14:08:33 +0300 |
commit | 53e50a05bd27ecec03695b69defd920fc4a25c5c (patch) | |
tree | e86ca391e5a85118098c6340a0f0ae86747db042 /pkg/pool/static_pool.go | |
parent | ad1ca84b26bb6a4ba410a8a684fe3d2e2f86eaea (diff) | |
parent | fc540f6029772ff51913b8ee3c082f8197010c52 (diff) |
Merge remote-tracking branch 'origin/master' into feature/jobs_plugin
Diffstat (limited to 'pkg/pool/static_pool.go')
-rwxr-xr-x | pkg/pool/static_pool.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/pool/static_pool.go b/pkg/pool/static_pool.go index 74e06b81..1c149c51 100755 --- a/pkg/pool/static_pool.go +++ b/pkg/pool/static_pool.go @@ -174,7 +174,7 @@ func (sp *StaticPool) execWithTTL(ctx context.Context, p payload.Payload) (paylo return sp.execDebugWithTTL(ctx, p) } - ctxAlloc, cancel := context.WithTimeout(ctx, sp.cfg.AllocateTimeout) + ctxAlloc, cancel := context.WithTimeout(context.Background(), sp.cfg.AllocateTimeout) defer cancel() w, err := sp.getWorker(ctxAlloc, op) if err != nil { |