yidas / codeigniter-queue-worker Goto Github PK
View Code? Open in Web Editor NEWCodeIgniter 3 Daemon Queue Worker (Consumer) Management Controller
License: MIT License
CodeIgniter 3 Daemon Queue Worker (Consumer) Management Controller
License: MIT License
$this->load->library('myjobs');
From my understanding, you only need to run php index.php worker listen
and the listener will automatically dispatch a worker if there's a job in the queue (given that you configured everything as described in the README). php index.php worker work
is used to run the worker manually while php index.php worker launch
is used to run the listener in the background.
Is my assumptions right and if it is, is the following practice correct:
php index.php worker launch
Suddenly my queue returns job empty message. But there is 100+ records to process. And no changes in my DB..
Hi, is there anyway to get windows support for multiple workers? Currently, I can only do php index.php queue/my_worker single
which only launces a single worker, so if I have multiple jobs in the queue, only one of them will be executed at a single time.
Not really an issue but is there anyway to be able to have windows support the listen
or launch
command? I'm willing to contribute given some guidance if necessary.
A good amount of things have changed in php 8 and I still haven't been able to tackle them with your work.
I'm interested in with codeigniter-queue-worker, can you give example source code 'myjobs' library ?
Hello, I saw in documentation is requeried codeigniter version 3+
It is possible to make compatible with version 2?
Another question, you can store data for use it in the queue job? similar has laravel?
please explain why I have the message "Queue Listener - Job empty"
I did setup everything was working fine.
There were some health issues coming so I did kill by PID.
Now when I run this command.
php index.php MyWorker/launch
It does not start listening, and this commands is printing only.
`ps aux|grep php
root 2132 0.0 2.7 451296 27964 ? Ss 14:42 0:00 php-fpm: master process (/etc/php/7.2/fpm/php-fpm.conf)
www-data 2160 0.0 1.5 453596 15856 ? S 14:42 0:00 php-fpm: pool www
www-data 2161 0.0 1.5 453596 15856 ? S 14:42 0:00 php-fpm: pool www
ubuntu 2709 0.0 0.1 14856 1032 pts/0 S+ 15:59 0:00 grep --color=auto php`
Adeel
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.