C
C
chelkaz2017-05-06 15:10:34
Laravel
chelkaz, 2017-05-06 15:10:34

Why are files in Listeners "crazy" cached in Laravel?

I'm going crazy already...
I change the code in the Listeners in App\Listeners and work out the old code!
After changing the code, I clear the cache:
# php artisan config:clear
# php artisan cache:clear
+ I do # redis-cli flushall
But it works out the old code that I changed a long time ago. Where is it cached? There is Opcache but it is disabled.
And by the way, it does not cache other files! I change controllers and models and everything is ok, namely in App\Listeners Crazy cache!
I can't understand why is that?
In settings:

BROADCAST_DRIVER=log
CACHE_DRIVER=file
SESSION_DRIVER=cookie
QUEUE_DRIVER=redis

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
JhaoDa, 2017-05-06
@chelkaz

Because he works in the queue, however. And queues can work in daemon mode, loading once. So we changed the code - try restarting the listener / worker.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question