summaryrefslogtreecommitdiff
path: root/pkg/worker/interface.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-02-24 00:12:05 +0300
committerValery Piashchynski <[email protected]>2021-02-24 00:12:05 +0300
commite684ac16035bed9a4c09677b0db3b33477955dc9 (patch)
tree0d226eb8ad9730ede1f7cd80b5f7b44d1fb23b0a /pkg/worker/interface.go
parent18a097292a567fccdd02304ff236bf78d769965d (diff)
Fix pool behavior, update tests
Diffstat (limited to 'pkg/worker/interface.go')
-rw-r--r--pkg/worker/interface.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/worker/interface.go b/pkg/worker/interface.go
index 96eb25bc..2b68717a 100644
--- a/pkg/worker/interface.go
+++ b/pkg/worker/interface.go
@@ -70,5 +70,5 @@ type SyncWorker interface {
// Exec used to execute payload on the SyncWorker, there is no TIMEOUTS
Exec(rqs payload.Payload) (payload.Payload, error)
// ExecWithContext used to handle Exec with TTL
- ExecWithTimeout(ctx context.Context, p payload.Payload) (payload.Payload, error)
+ ExecWithTTL(ctx context.Context, p payload.Payload) (payload.Payload, error)
}