Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for pingTimer (0.06 sec)

  1. internal/grid/muxclient.go

    		// - maybe async, so we shouldn't do it here.
    		if m.respErr.Load() == nil {
    			xioutil.SafeClose(respHandler)
    		}
    	}()
    	var pingTimer <-chan time.Time
    	if m.deadline == 0 || m.deadline > m.clientPingInterval {
    		ticker := time.NewTicker(m.clientPingInterval)
    		defer ticker.Stop()
    		pingTimer = ticker.C
    		atomic.StoreInt64(&m.LastPong, time.Now().UnixNano())
    	}
    	defer m.parent.deleteMux(false, m.MuxID)
    	for {
    		select {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 15.9K bytes
    - Viewed (0)
Back to top