diff options
author | Valery Piashchynski <[email protected]> | 2021-08-10 19:54:03 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-08-10 19:54:03 +0300 |
commit | a8a7f4194156440ef3157d8e5d75c43ed0327bcf (patch) | |
tree | 9bc4240fb3c6f02682420689490f56d681d4b545 /pkg | |
parent | d379c28a1e9babead0266bc4fa10d6c5e7aa14cb (diff) |
Add jobs protocol support for the AMQP driver
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/priority_queue/binary_heap_test.go | 2 | ||||
-rw-r--r-- | pkg/priority_queue/interface.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/pkg/priority_queue/binary_heap_test.go b/pkg/priority_queue/binary_heap_test.go index 21167051..fa0c5c29 100644 --- a/pkg/priority_queue/binary_heap_test.go +++ b/pkg/priority_queue/binary_heap_test.go @@ -20,7 +20,7 @@ func (t Test) Nack() error { return nil } -func (t Test) Requeue(_ uint32) error { +func (t Test) Requeue(_ int64) error { return nil } diff --git a/pkg/priority_queue/interface.go b/pkg/priority_queue/interface.go index eee2a090..3d192e8a 100644 --- a/pkg/priority_queue/interface.go +++ b/pkg/priority_queue/interface.go @@ -27,5 +27,5 @@ type Item interface { Nack() error // Requeue - put the message back to the queue with the optional delay - Requeue(delay uint32) error + Requeue(delay int64) error } |