From 1b6cc491a6a8488ff884a029e5fd41a05bced32f Mon Sep 17 00:00:00 2001 From: liqi Date: Mon, 6 Jan 2025 15:16:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E7=8E=B0=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/config/main.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/common/config/main.php b/common/config/main.php index 9b72124..d5046ed 100644 --- a/common/config/main.php +++ b/common/config/main.php @@ -24,10 +24,7 @@ return [ 'db' => 'db', // DB connection component or its config 'tableName' => '{{%queue4}}', // Table name 'channel' => 'queue4', // Queue channel key - 'mutex' => [ - 'class' => \yii\mutex\MysqlMutex::class, - 'mutex' => 'queue4_', - ], + 'mutex' => \yii\mutex\MysqlMutex::class, 'ttr' => 5 * 60, // Max time for job execution 'attempts' => 3, // Max number of attempts 'as log' => \yii\queue\LogBehavior::class,