summaryrefslogtreecommitdiff
path: root/plugins/jobs/plugin.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-07-03 15:19:48 +0300
committerValery Piashchynski <[email protected]>2021-07-03 15:19:48 +0300
commit677db79f76fcc566bee2b1b51d0f40a0c9f2ac19 (patch)
tree7c02179dd4b7927e2c01734ba8ee3b5b63ff831b /plugins/jobs/plugin.go
parente4834e08dcf5885623091bbe5e7e75e7950a07f3 (diff)
- Initial binary_heap
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'plugins/jobs/plugin.go')
-rw-r--r--plugins/jobs/plugin.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/jobs/plugin.go b/plugins/jobs/plugin.go
index 690402d6..6bf43a11 100644
--- a/plugins/jobs/plugin.go
+++ b/plugins/jobs/plugin.go
@@ -71,7 +71,7 @@ func (p *Plugin) Init(cfg config.Configurer, log logger.Logger, server server.Se
}
// initialize priority queue
- p.queue = priorityqueue.NewPriorityQueue()
+ p.queue = priorityqueue.NewBinHeap()
p.log = log
return nil