debug
This commit is contained in:
@@ -9,7 +9,7 @@ use support\think\Db;
|
||||
use support\Log;
|
||||
|
||||
try {
|
||||
// define('AMQP_DEBUG', true);
|
||||
define('AMQP_DEBUG', true);
|
||||
$host = config('cons.mq.host');
|
||||
$port = config('cons.mq.port');
|
||||
$user = config('cons.mq.user');
|
||||
@@ -26,7 +26,7 @@ use support\Log;
|
||||
60,
|
||||
null,
|
||||
false,
|
||||
30
|
||||
15
|
||||
);
|
||||
$rabbit_channel = $connection->channel();
|
||||
$rabbit_channel->queue_declare($queue, false, true, false, false);
|
||||
|
||||
Reference in New Issue
Block a user