summaryrefslogtreecommitdiff
path: root/plugins/jobs/drivers/beanstalk/item.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-08-09 23:26:24 +0300
committerValery Piashchynski <[email protected]>2021-08-09 23:26:59 +0300
commitd379c28a1e9babead0266bc4fa10d6c5e7aa14cb (patch)
tree8e939b38c9ddd0d6a71f9d99a53fae067608dd0c /plugins/jobs/drivers/beanstalk/item.go
parent0f16b25156cf98357865945d1c3bd5a038853c60 (diff)
Add initial support for the php worker protocol.
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'plugins/jobs/drivers/beanstalk/item.go')
-rw-r--r--plugins/jobs/drivers/beanstalk/item.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/jobs/drivers/beanstalk/item.go b/plugins/jobs/drivers/beanstalk/item.go
index fc0ee86b..eb532e08 100644
--- a/plugins/jobs/drivers/beanstalk/item.go
+++ b/plugins/jobs/drivers/beanstalk/item.go
@@ -103,6 +103,10 @@ func (i *Item) Nack() error {
return i.Options.conn.Delete(i.Options.id)
}
+func (i *Item) Requeue(_ uint32) error {
+ return nil
+}
+
func fromJob(job *job.Job) *Item {
return &Item{
Job: job.Job,