summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2020-10-25 16:46:52 +0300
committerWolfy-J <[email protected]>2020-10-25 16:46:52 +0300
commit6d0cea83e2a253c3baf4564a37eebaf54fc124c0 (patch)
treed11613029fc5d5b4f63424576404aeabe5a21e6a
parentee873d283ceb3d4aae3479e3db67efb133d320b5 (diff)
- massive update in roadrunner 2.0 abstractions
-rw-r--r--sync_worker.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/sync_worker.go b/sync_worker.go
index cbc2cc0b..85aa832e 100644
--- a/sync_worker.go
+++ b/sync_worker.go
@@ -30,11 +30,6 @@ func NewSyncWorker(w WorkerBase) (SyncWorker, error) {
}, nil
}
-type twexec struct {
- payload Payload
- err error
-}
-
// Exec payload without TTL timeout.
func (tw *syncWorker) Exec(p Payload) (Payload, error) {
if len(p.Body) == 0 && len(p.Context) == 0 {