mardi 28 juin 2016

Laravel 5 Queue jobs are taking 400ms to run

I have implemented a Laravel 5.0 Queue (with a DB driver) in order to speed up the redirection speed on my website.

I wanted to speed up a process that takes about 400 ms.

However after implementing this Queue, it's still taking like 350-400ms.

Queue::push(function($job) use ($data)
{
    TestQueue::myFunc($data);

    $job->delete();
});

Am I doing anything wrong? Please let me know what else to provide in order for you to help me.



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/292lpnh
via IFTTT

Aucun commentaire:

Enregistrer un commentaire