php - I am publish(emiting) through redis on node from laravel but all the process works in queue i want to run simultaneously

563

I am facing issue when i am emitting from laravel through redis in node and all the process of the redis is in the queue and i want to work simultaneously

 $data['db_name']=$_GET['db_name'];
 $data['task_id']=$_GET['task_id'];



   $redis = new \Predis\Client('tcp://127.0.0.1:6379'."read_write_timeout=1");

  $redis->Publish('message',json_encode($data));            

Here after sending or publishing it is waiting for the request to completed after that it will send request to the next queue i mean emit to it

People are also looking for solutions to the problem: php - Strict standards error?

Source

Didn't find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.

Ask a Question

Write quick answer

Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.

Similar questions

Find the answer in similar questions on our website.