diff options
author | Valery Piashchynski <[email protected]> | 2021-04-20 10:15:35 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2021-04-20 10:15:35 +0300 |
commit | 29de693ff9ebda2f130398a40746b07fb259e4b0 (patch) | |
tree | bcc0e83061e387bcb150cf2fcf94fa9dfaaa5576 /pkg/pool/static_pool.go | |
parent | 5874d20297e7ca6d015f602983ac0076158c55d7 (diff) | |
parent | 3362f211f6358d60bea47ac2de4cc29a47373973 (diff) |
Merge branch 'master' into dependabot/go_modules/github.com/gofiber/fiber/v2-2.8.0
Diffstat (limited to 'pkg/pool/static_pool.go')
-rwxr-xr-x | pkg/pool/static_pool.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/pool/static_pool.go b/pkg/pool/static_pool.go index c8e45b82..129c6f7d 100755 --- a/pkg/pool/static_pool.go +++ b/pkg/pool/static_pool.go @@ -119,7 +119,7 @@ func (sp *StaticPool) addListener(listener events.Listener) { sp.events.AddListener(listener) } -// Config returns associated pool configuration. Immutable. +// GetConfig returns associated pool configuration. Immutable. func (sp *StaticPool) GetConfig() interface{} { return sp.cfg } @@ -134,7 +134,7 @@ func (sp *StaticPool) RemoveWorker(wb worker.BaseProcess) error { return nil } -// Be careful, sync Exec with ExecWithContext +// Exec executes provided payload on the worker func (sp *StaticPool) Exec(p payload.Payload) (payload.Payload, error) { const op = errors.Op("static_pool_exec") if sp.cfg.Debug { |