소스 검색

[智价云] 配置更新

tangyuanwang 8 시간 전
부모
커밋
cd29d0c53a
1개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 4 2
      config/queue.php

+ 4 - 2
config/queue.php

@@ -38,8 +38,9 @@ return [
             'driver' => 'database',
             'table' => 'jobs',
             'queue' => 'default',
-            'retry_after' => 90,
+            'retry_after' => 300,//重试时间
             'after_commit' => false,
+            'timeout' => 300,//超时时间
         ],
 
         'beanstalkd' => [
@@ -66,9 +67,10 @@ return [
             'driver' => 'redis',
             'connection' => 'default',
             'queue' => env('REDIS_QUEUE', 'default'),
-            'retry_after' => 90,
+            'retry_after' => 90,//重试时间
             'block_for' => null,
             'after_commit' => false,
+            'timeout' => 300,//超时时间
         ],
 
     ],