This commit is contained in:
noreply
2024-04-16 23:55:11 +08:00
parent d3ed2c927e
commit ed0a7f7d07
+2 -1
View File
@@ -5,6 +5,8 @@ import (
"net/http"
"sync"
"github.com/spf13/viper"
"github.com/assimon/luuu/model/data"
"github.com/assimon/luuu/model/request"
"github.com/assimon/luuu/mq"
@@ -136,7 +138,6 @@ func Trc20CallBack(token string, wg *sync.WaitGroup) {
}
// 回调队列
orderCallbackQueue, _ := handle.NewOrderCallbackQueue(order)
orderCallbackQueue, _ := handle.NewOrderCallbackQueue(order)
orderNoticeMaxRetry := viper.GetInt("order_notice_max_retry")
mq.MClient.Enqueue(orderCallbackQueue, asynq.MaxRetry(orderNoticeMaxRetry))
// mq.MClient.Enqueue(orderCallbackQueue, asynq.MaxRetry(5))