Giter VIP home page Giter VIP logo

laravel-unique-queue's People

Contributors

keepanitreel avatar mlntn avatar petr-malakhaltsev avatar royduin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

laravel-unique-queue's Issues

Allow unique and non-unique together

In the Horizon config I've:

'queue' => ['default', 'low'],
'balance' => false,

So first everything in the default queue will be handled. When it's empty the low queue will be processed. Now I only like to "uniquely" queued listeners on the low queue. That's currently not possible because "uniquely" works with a custom connection. It would be awesome to have a job/listener implement an interface (I think that's better in this case in comparison with a trait currently used) and depending on that it will be "uniquelied".

Undefined index: uniqueIdentifier

Hi,

I installed this package I added the queue connection, the Horizon configuration and added the trait and getUniqueIdentifier().

But I am getting this error. Any suggestions on where to look for what I am doing wrong?

Thanks.

/vendor/mlntn/laravel-unique-queue/src/Queue/HorizonUniqueQueue.php:65Illuminate\Foundation\Bootstrap\HandleExceptions::handleError

/vendor/mlntn/laravel-unique-queue/src/Queue/HorizonUniqueQueue.php:65Illuminate\Foundation\Bootstrap\HandleExceptions::handleError /vendor/mlntn/laravel-unique-queue/src/Queue/HorizonUniqueQueue.php:65Mlntn\Queue\HorizonUniqueQueue::deleteReserved /vendor/laravel/framework/src/Illuminate/Queue/Jobs/RedisJob.php:84Illuminate\Queue\Jobs\RedisJob::delete /vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php:57Illuminate\Queue\CallQueuedHandler::call /vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php:88Illuminate\Queue\Jobs\Job::fire /vendor/laravel/framework/src/Illuminate/Queue/Worker.php:337Illuminate\Queue\Worker::process /vendor/laravel/framework/src/Illuminate/Queue/Worker.php:283Illuminate\Queue\Worker::runJob /vendor/laravel/framework/src/Illuminate/Queue/Worker.php:118Illuminate\Queue\Worker::daemon /vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php:102Illuminate\Queue\Console\WorkCommand::runWorker /vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php:86Illuminate\Queue\Console\WorkCommand::handle /vendor/laravel/horizon/src/Console/WorkCommand.php:46Laravel\Horizon\Console\WorkCommand::handle

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.