Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for cluster_deadline (0.09 sec)

  1. cmd/handler-api.go

    	return
    }
    
    func (t *apiConfig) init(cfg api.Config, setDriveCounts []int, legacy bool) {
    	t.mu.Lock()
    	defer t.mu.Unlock()
    
    	clusterDeadline := cfg.ClusterDeadline
    	if clusterDeadline == 0 {
    		clusterDeadline = 10 * time.Second
    	}
    	t.clusterDeadline = clusterDeadline
    	corsAllowOrigin := cfg.CorsAllowOrigin
    	if len(corsAllowOrigin) == 0 {
    		corsAllowOrigin = []string{"*"}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 26 17:07:10 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top