This commit is contained in:
2025-10-30 10:55:28 +08:00
parent aee35c6d1c
commit 38d37aa416
4 changed files with 8 additions and 8 deletions

View File

@@ -10,7 +10,7 @@ use Webman\RedisQueue\Redis;
try {
// 生日有礼
// define('AMQP_DEBUG', true);
define('AMQP_DEBUG', true);
$host = config('cons.mq.host');
$port = config('cons.mq.port');
$user = config('cons.mq.user');
@@ -28,7 +28,7 @@ try {
60,
null,
false,
30
15
);
$rabbit_channel = $connection->channel();
$rabbit_channel->queue_declare($queue, false, true, false, false);