完善使用说明
This commit is contained in:
parent
dc2fccbc55
commit
bb97aa14fb
|
@ -4,6 +4,10 @@ return [
|
||||||
'callback_host' => env('mq_callback_host', 'http://192.168.21.170:8085'),
|
'callback_host' => env('mq_callback_host', 'http://192.168.21.170:8085'),
|
||||||
'callback' => '/rocketmq/producer/notify',
|
'callback' => '/rocketmq/producer/notify',
|
||||||
'subscribe' => [
|
'subscribe' => [
|
||||||
|
//节点配置 由mq的topic.tag为标识
|
||||||
|
// '[topic].[tag]' => [
|
||||||
|
// Test:class
|
||||||
|
// ]
|
||||||
|
|
||||||
]
|
]
|
||||||
];
|
];
|
||||||
|
|
|
@ -38,7 +38,7 @@ class Config
|
||||||
/**
|
/**
|
||||||
* @return int
|
* @return int
|
||||||
*/
|
*/
|
||||||
public function getTimeOut()
|
public function getTimeOut(): int
|
||||||
{
|
{
|
||||||
return $this->timeOut ?? 60;
|
return $this->timeOut ?? 60;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user