summaryrefslogtreecommitdiff
path: root/pkg/priorityqueue/binary_heap_test.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-07-08 17:54:29 +0300
committerValery Piashchynski <[email protected]>2021-07-08 17:54:29 +0300
commit4566f88004e81d3229222d82614c15346ac2e47d (patch)
tree05dc6ffeea8d00cb63cc6a51c17ae2afda8aaa5a /pkg/priorityqueue/binary_heap_test.go
parent5f84c5d5709cff5984a5859651a0bbb1c55fcb0f (diff)
AMQP update...
Add redialer, consumer, rabbit queues initializer. Update configuration (.rr.yaml). Add ack/nack for the jobs main plugin with error handling. Add Qos, queues bining and declaration. Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'pkg/priorityqueue/binary_heap_test.go')
-rw-r--r--pkg/priorityqueue/binary_heap_test.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkg/priorityqueue/binary_heap_test.go b/pkg/priorityqueue/binary_heap_test.go
index 6be6a99d..06d0735c 100644
--- a/pkg/priorityqueue/binary_heap_test.go
+++ b/pkg/priorityqueue/binary_heap_test.go
@@ -12,10 +12,12 @@ import (
type Test int
-func (t Test) Ack() {
+func (t Test) Ack() error {
+ return nil
}
-func (t Test) Nack() {
+func (t Test) Nack() error {
+ return nil
}
func (t Test) Body() []byte {