1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-06-07 07:59:42 +08:00
This commit is contained in:
Mrs4s 2020-10-20 21:05:59 +08:00
parent 8ab874ca2b
commit c2fd0f1bb2

View File

@ -131,7 +131,7 @@ func (c *httpClient) onBotPushEvent(m coolq.MSG) {
}
return h
}()).SetTimeout(time.Second * time.Duration(c.timeout)).F().Retry().Attempt(5).
WaitTime(time.Millisecond * 500).MaxWaitTime(time.Second * 5).
WaitTime(time.Millisecond * 500).MaxWaitTime(time.Second).
Do()
if err != nil {
log.Warnf("上报Event数据 %v 到 %v 失败: %v", m.ToJson(), c.addr, err)