summaryrefslogtreecommitdiff
path: root/pkg/priority_queue/interface.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-07-14 11:35:12 +0300
committerValery Piashchynski <[email protected]>2021-07-14 11:35:12 +0300
commitd099e47ab28dd044d34e18347a4c714b8af3d612 (patch)
treee106e13bba48e435b87d218237b282d7f691b52c /pkg/priority_queue/interface.go
parentec7c049036d31fe030d106db9f0d268ea0296c5f (diff)
SQS driver.
Fix isssues in the AMQP driver. Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'pkg/priority_queue/interface.go')
-rw-r--r--pkg/priority_queue/interface.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/priority_queue/interface.go b/pkg/priority_queue/interface.go
index 1efebf1c..d64aaf3d 100644
--- a/pkg/priority_queue/interface.go
+++ b/pkg/priority_queue/interface.go
@@ -12,7 +12,7 @@ type Item interface {
ID() string
// Priority returns the Item's priority to sort
- Priority() uint64
+ Priority() int64
// Body is the Item payload
Body() []byte