[ Cmii ] [ Octopus ] - hot fix manual shut down init queue

This commit is contained in:
zeaslity
2024-04-09 10:19:01 +08:00
parent bcb46ec8aa
commit 83a676e321

View File

@@ -194,6 +194,8 @@ func (r *RabbitQueue) Close() error {
func (r *RabbitQueue) Handle() chan bool { func (r *RabbitQueue) Handle() chan bool {
deliveries := r.Read(true) deliveries := r.Read(true)
// 2024年4月9日
r.ConsumeOK = true
foreverHandle := make(chan bool) foreverHandle := make(chan bool)
// 死循环处理Octopus Message // 死循环处理Octopus Message