Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for initCallhome (0.21 sec)

  1. cmd/callhome.go

    	"fmt"
    	"math/rand"
    	"net/url"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    )
    
    var callhomeLeaderLockTimeout = newDynamicTimeout(30*time.Second, 10*time.Second)
    
    // initCallhome will start the callhome task in the background.
    func initCallhome(ctx context.Context, objAPI ObjectLayer) {
    	if !globalCallhomeConfig.Enabled() {
    		return
    	}
    
    	go func() {
    		r := rand.New(rand.NewSource(time.Now().UnixNano()))
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.1K bytes
    - Viewed (1)
  2. cmd/config-current.go

    			configLogIf(ctx, fmt.Errorf("Unable to load callhome config: %w", err))
    		} else {
    			enable := callhomeCfg.Enable && !globalCallhomeConfig.Enabled()
    			globalCallhomeConfig.Update(callhomeCfg)
    			if enable {
    				initCallhome(ctx, objAPI)
    			}
    		}
    	case config.DriveSubSys:
    		driveConfig, err := drive.LookupConfig(s[config.DriveSubSys][config.Default])
    		if err != nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 11:33:28 GMT 2024
    - 30.7K bytes
    - Viewed (0)
Back to top