fix
This commit is contained in:
parent
2b30911ec6
commit
2cb4549f00
|
@ -143,7 +143,7 @@ func (l *DataTransferLogic) checkAuth(svcCtx *svc.ServiceContext, r *http.Reques
|
|||
|
||||
// 心跳
|
||||
func (w *wsConnectItem) heartbeat() {
|
||||
tick := time.Tick(time.Second * 10)
|
||||
tick := time.Tick(time.Second * 5)
|
||||
for {
|
||||
select {
|
||||
case <-w.closeChan:
|
||||
|
|
Loading…
Reference in New Issue
Block a user