我的Laravel Redis队列即使foreach也无休止地创建行

时间:2019-05-30 09:03:25

标签: php laravel redis queue forge

我有一个实时的laravel应用程序,该应用程序使用queue方法基于foreach语句在数据库中创建行,现在它只是不停地创建行。以下是我在日志文件中遇到的最新错误...我使用Redis队列

forge @ onenaira:〜/ onenaira.com.ng / storage / logs $ tail laravel-2019-05-27.log

#59 /home/forge/onenaira.com.ng/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53):Illuminate \ Pipeline \ Pipeline-> Illuminate \ Pipeline \ {closure}(对象(Illuminate \ Http \ Request))

#60 /home/forge/onenaira.com.ng/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php(62):Illuminate \ Routing \ Pipeline-> Illuminate \ Routing \ {closure}(Object(Illuminate \ Http \ Request))

#61 /home/forge/onenaira.com.ng/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(163):Illuminate \ Foundation \ Http \ Middleware \ CheckForMaintenanceMode-> handle(Object( Illuminate \ Http \ Request),Object(Closure))

#62 /home/forge/onenaira.com.ng/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php(53):Illuminate \ Pipeline \ Pipeline-> Illuminate \ Pipeline \ {closure}(对象(Illuminate \ Http \ Request))

#63 /home/forge/onenaira.com.ng/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(104):Illuminate \ Routing \ Pipeline-> Illuminate \ Routing \ {closure}(对象(Illuminate \ Http \ Request))

#64 /home/forge/onenaira.com.ng/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(151):Illuminate \ Pipeline \ Pipeline-> then(Object(Closure) )

#65 /home/forge/onenaira.com.ng/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(116):Illuminate \ Foundation \ Http \ Kernel-> sendRequestThroughRouter(Object( Illuminate \ Http \ Request))

#66 /home/forge/onenaira.com.ng/public/index.php(55):Illuminate \ Foundation \ Http \ Kernel-> handle(Object(Illuminate \ Http \ Request))

#67 {main} “}

0 个答案:

没有答案