Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for nodesOnlineIndex (0.12 seconds)

  1. cmd/notification.go

    	nodesOnline = 1 // Self is always online.
    	nodesOffline = 0
    	nodesOnlineIndex := make([]bool, len(sys.peerClients))
    	var wg sync.WaitGroup
    	for idx, client := range sys.peerClients {
    		if client == nil {
    			continue
    		}
    		wg.Add(1)
    		go func(idx int, client *peerRESTClient) {
    			defer wg.Done()
    			nodesOnlineIndex[idx] = client.restClient.HealthCheckFn()
    		}(idx, client)
    	}
    	wg.Wait()
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 46K bytes
    - Click Count (0)
Back to Top