update amqp config

This commit is contained in:
2026-03-17 10:36:12 +08:00
parent 1631f8e99c
commit 20fe8ccf5e
+6
View File
@@ -16,6 +16,12 @@ use function Hyperf\Support\env;
return [
'enable' => true,
'management' => [
'host' => env('AMQP_HOST', 'localhost'),
'port' => (int) env('RABBITMQ_MANAGEMENT_PORT', 15672),
'user' => env('AMQP_ADMIN_USER', 'guest'),
'password' => env('AMQP_ADMIN_PASSWORD', 'guest'),
],
'default_producer' => [
'host' => env('AMQP_HOST', 'localhost'),
'port' => (int) env('AMQP_PORT', 5672),