diff options
Diffstat (limited to 'plugins/jobs/brokers/amqp/plugin.go')
-rw-r--r-- | plugins/jobs/brokers/amqp/plugin.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/jobs/brokers/amqp/plugin.go b/plugins/jobs/brokers/amqp/plugin.go index 74f9a174..377d8648 100644 --- a/plugins/jobs/brokers/amqp/plugin.go +++ b/plugins/jobs/brokers/amqp/plugin.go @@ -2,7 +2,7 @@ package amqp import ( "github.com/spiral/roadrunner/v2/common/jobs" - "github.com/spiral/roadrunner/v2/pkg/priorityqueue" + priorityqueue "github.com/spiral/roadrunner/v2/pkg/priority_queue" "github.com/spiral/roadrunner/v2/plugins/config" "github.com/spiral/roadrunner/v2/plugins/logger" ) @@ -26,6 +26,8 @@ func (p *Plugin) Name() string { return pluginName } +func (p *Plugin) Available() {} + func (p *Plugin) JobsConstruct(configKey string, pq priorityqueue.Queue) (jobs.Consumer, error) { return NewAMQPConsumer(configKey, p.log, p.cfg, pq) } |