Home > Backend Development > PHP Tutorial > Laravel 5.1 queue has no effect?

Laravel 5.1 queue has no effect?

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-07-06 13:53:12
Original
1116 people have browsed it

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
Laravel 5.1 queue has no effect?

The controller pushes the task here:
Laravel 5.1 queue has no effect?

After accessing http://localhost/test, I found that nothing in the database has changed:
Laravel 5.1 queue has no effect?

I enabled monitoring and redis services:
Laravel 5.1 queue has no effect?

What is the reason for this? Please explain!

Reply content:

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
Laravel 5.1 queue has no effect?

The controller pushes the task here:
Laravel 5.1 queue has no effect?

After accessing http://localhost/test, I found that nothing in the database has changed:
Laravel 5.1 queue has no effect?

I enabled monitoring and redis services:
Laravel 5.1 queue has no effect?

What is the reason for this? Please explain!

Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template