Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for submit (0.55 sec)

  1. internal/config/callhome/callhome.go

    )
    
    // DefaultKVS - default KV config for subnet settings
    var DefaultKVS = config.KVS{
    	config.KV{
    		Key:   Enable,
    		Value: "off",
    	},
    	config.KV{
    		Key:   Frequency,
    		Value: "24h",
    	},
    }
    
    // callhomeCycleDefault is the default interval between two callhome cycles (24hrs)
    const callhomeCycleDefault = 24 * time.Hour
    
    // Config represents the subnet related configuration
    type Config struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  2. cmd/callhome.go

    		},
    	}
    
    	go fetchHealthInfo(healthCtx, objectAPI, &query, healthInfoCh, healthInfo)
    
    	for {
    		select {
    		case hi, hasMore := <-healthInfoCh:
    			if !hasMore {
    				// Received all data. Send to SUBNET and return
    				err := sendHealthInfo(ctx, healthInfo)
    				if err != nil {
    					internalLogIf(ctx, fmt.Errorf("Unable to perform callhome: %w", err))
    				}
    				return
    			}
    			healthInfo = hi
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.1K bytes
    - Viewed (1)
Back to top