Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for connPingInterval (0.11 sec)

  1. internal/grid/connection.go

    		c.connChange.L.Unlock()
    
    		conn.Close()
    		c.handleMsgWg.Done()
    	}()
    
    	c.connMu.Lock()
    	connPingInterval := c.connPingInterval
    	c.connMu.Unlock()
    	ping := time.NewTicker(connPingInterval)
    	pingFrame := message{
    		Op:         OpPing,
    		DeadlineMS: uint32(connPingInterval.Milliseconds()),
    		Payload:    make([]byte, pingMsg{}.Msgsize()),
    	}
    
    	defer ping.Stop()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 46.7K bytes
    - Viewed (0)
Back to top