From e684ac16035bed9a4c09677b0db3b33477955dc9 Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Wed, 24 Feb 2021 00:12:05 +0300 Subject: Fix pool behavior, update tests --- pkg/worker/interface.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/worker/interface.go') 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) } -- cgit v1.2.3