Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 43 of 43 for SafeClose (0.22 sec)

  1. cmd/admin-handlers.go

    		for _, drive := range drives {
    			drive.Endpoint = anonAddr(drive.Endpoint)
    			anonDrives = append(anonDrives, drive)
    		}
    		return anonDrives
    	}
    
    	go func() {
    		defer xioutil.SafeClose(healthInfoCh)
    
    		partialWrite(healthInfo) // Write first message with only version and deployment id populated
    		getAndWritePlatformInfo()
    		getAndWriteCPUs()
    		getAndWritePartitions()
    		getAndWriteNetInfo()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  2. cmd/data-scanner.go

    	d.mu.Lock()
    	defer d.mu.Unlock()
    	if math.Abs(d.factor-factor) < 1e-10 && d.maxSleep == maxWait {
    		return nil
    	}
    	// Update values and cycle waiting.
    	xioutil.SafeClose(d.cycle)
    	d.factor = factor
    	d.maxSleep = maxWait
    	d.cycle = make(chan struct{})
    	return nil
    }
    
    const (
    	// ILMExpiry - audit trail for ILM expiry
    	ILMExpiry = "ilm:expiry"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 47.6K bytes
    - Viewed (0)
  3. cmd/iam.go

    		}
    	}
    
    	if firstTime {
    		bootstrapTraceMsg(fmt.Sprintf("globalIAMSys.Load(): (duration: %s)", loadDuration))
    	}
    
    	select {
    	case <-sys.configLoaded:
    	default:
    		xioutil.SafeClose(sys.configLoaded)
    	}
    	return nil
    }
    
    // Init - initializes config system by reading entries from config/iam
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
Back to top