You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using lumen 5.2(because I have use php 5.5, the library I am using for connecting to SMPP works on 5.5) for an SMS sending server. I have 4 different queue priority, highest, high, default and low. I am using Redis as my queue driver.
Whenever a user requested for sending an SMS, it sends a Job to the queue based on priority. The job is really simple, just open a SMPP connection and send the SMS, then close the connection.
I am running the queue listener with supervisor. Here is the config of supervisor-
Then I log into redis console and after running KEYS *, I found a new key called queues:highest:delayed and if I delete it with with DEL command, then the queue started working fine agian. From where It comes. I don't use any delay() dispatch option anywhere in my code.
I also checked what this key contains. It's a sorted set and it contains value something like this-
{"id": "183428934728746524875623", "delay": 159}
So, it is failing while processing the job. From where this value comes from? How can I get rid of this?
The text was updated successfully, but these errors were encountered:
Description:
I am using lumen 5.2(because I have use php 5.5, the library I am using for connecting to SMPP works on 5.5) for an SMS sending server. I have 4 different queue priority,
highest
,high
,default
andlow
. I am using Redis as my queue driver.Whenever a user requested for sending an SMS, it sends a Job to the queue based on priority. The job is really simple, just open a SMPP connection and send the SMS, then close the connection.
I am running the queue listener with supervisor. Here is the config of supervisor-
The system working fine for most of the time, but sometimes it stops dispatching job from queue. In the error log, I found this-
I searched with the error, and found out this thread- laravel/framework#9555.
Then I log into redis console and after running
KEYS *
, I found a new key calledqueues:highest:delayed
and if I delete it with withDEL
command, then the queue started working fine agian. From where It comes. I don't use anydelay()
dispatch option anywhere in my code.I also checked what this key contains. It's a sorted set and it contains value something like this-
So, it is failing while processing the job. From where this value comes from? How can I get rid of this?
The text was updated successfully, but these errors were encountered: