Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for healthInfoCh (0.04 sec)

  1. cmd/admin-handlers.go

    	defer healthCancel()
    
    	go fetchHealthInfo(healthCtx, objectAPI, &query, healthInfoCh, healthInfo)
    
    	setCommonHeaders(w)
    	setEventStreamHeaders(w)
    	w.WriteHeader(http.StatusOK)
    
    	ticker := time.NewTicker(5 * time.Second)
    	defer ticker.Stop()
    
    	for {
    		select {
    		case oinfo, ok := <-healthInfoCh:
    			if !ok {
    				return
    			}
    			if err := enc.Encode(oinfo); err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 99.6K bytes
    - Viewed (0)
Back to top