Skip to content

How to push job to certain queue with certain priority?Β #60

@gam6itko

Description

@gam6itko

I need something like this

$this->queue(
  name: 'job_name',
  options: Options::onQueue('legacy_pull')->withProperty(10)
);

This Options class has queue property but hasn't priority property https://github.com/spiral/framework/blob/c2de74fd7e5cc3d72232d9b74fd28c528d81fb49/src/Queue/src/Options.php

This Options class has priority property but queue property is missing. Also it's not implements Spiral\Queue\OptionsInterface
https://github.com/spiral/roadrunner-jobs/blob/master/src/Options.php

How can I take benefits from both?

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions