mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-06-08 00:29:42 +08:00
fix #372.
This commit is contained in:
parent
8ab874ca2b
commit
c2fd0f1bb2
@ -131,7 +131,7 @@ func (c *httpClient) onBotPushEvent(m coolq.MSG) {
|
|||||||
}
|
}
|
||||||
return h
|
return h
|
||||||
}()).SetTimeout(time.Second * time.Duration(c.timeout)).F().Retry().Attempt(5).
|
}()).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()
|
Do()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Warnf("上报Event数据 %v 到 %v 失败: %v", m.ToJson(), c.addr, err)
|
log.Warnf("上报Event数据 %v 到 %v 失败: %v", m.ToJson(), c.addr, err)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user