Home >Backend Development >PHP Tutorial >Laravel 5.1 queue has no effect?
Written a task class (just for testing), which is to check whether there is any remaining inventory, if so, reduce it by one, and then insert it into the log table
The controller pushes the task here:
After accessing http://localhost/test, I found that nothing in the database has changed:
I enabled monitoring and redis services:
What is the reason for this? Please explain!
Written a task class (just for testing), which is to check whether there is any remaining inventory, if so, reduce it by one, and then insert it into the log table
The controller pushes the task here:
After accessing http://localhost/test, I found that nothing in the database has changed:
I enabled monitoring and redis services:
What is the reason for this? Please explain!