diff options
Diffstat (limited to 'plugins/jobs/brokers/ephemeral/plugin.go')
-rw-r--r-- | plugins/jobs/brokers/ephemeral/plugin.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/jobs/brokers/ephemeral/plugin.go b/plugins/jobs/brokers/ephemeral/plugin.go index 60c6e245..9910d857 100644 --- a/plugins/jobs/brokers/ephemeral/plugin.go +++ b/plugins/jobs/brokers/ephemeral/plugin.go @@ -2,7 +2,7 @@ package ephemeral 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, q priorityqueue.Queue) (jobs.Consumer, error) { return NewJobBroker(configKey, p.log, p.cfg, q) } |