summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 {