Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for maxTimeout (0.32 sec)

  1. internal/config/drive/help.go

    package drive
    
    import "github.com/minio/minio/internal/config"
    
    var (
    	// MaxTimeout is the max timeout for drive
    	MaxTimeout = "max_timeout"
    
    	// HelpDrive is help for drive
    	HelpDrive = config.HelpKVS{
    		config.HelpKV{
    			Key:         MaxTimeout,
    			Type:        "string",
    			Description: "set per call max_timeout for the drive, defaults to 30 seconds",
    			Optional:    true,
    		},
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  2. internal/config/drive/drive.go

    )
    
    // DefaultKVS - default KVS for drive
    var DefaultKVS = config.KVS{
    	config.KV{
    		Key:   MaxTimeout,
    		Value: "30s",
    	},
    }
    
    var configLk sync.RWMutex
    
    // Config represents the subnet related configuration
    type Config struct {
    	// MaxTimeout - maximum timeout for a drive operation
    	MaxTimeout time.Duration `json:"maxTimeout"`
    }
    
    // Update - updates the config with latest values
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/cli/BuildActionsFactory.java

            //We might leave that in if we decide it's a good idea for an extra safety net.
            int maxTimeout = 2 * 60 * 1000;
            if (daemonParameters.getIdleTimeout() > maxTimeout) {
                daemonParameters.setIdleTimeout(maxTimeout);
            }
            //end of workaround.
    
            // Create a client that will not match any existing daemons, so it will always start a new one
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/endpoints/audit_test.go

    func testTimeout(t *testing.T) time.Duration {
    	defaultTimeout := wait.ForeverTestTimeout
    	const cleanupTime = 5 * time.Second
    	if deadline, ok := t.Deadline(); ok {
    		maxTimeout := time.Until(deadline) - cleanupTime
    		if maxTimeout < defaultTimeout {
    			return maxTimeout
    		}
    	}
    	return defaultTimeout
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 14 23:04:34 UTC 2022
    - 12.1K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/runtime/framework.go

    				return status.WithPlugin(pl.Name())
    			}
    			if status.IsWait() {
    				// Not allowed to be greater than maxTimeout.
    				if timeout > maxTimeout {
    					timeout = maxTimeout
    				}
    				pluginsWaitTime[pl.Name()] = timeout
    				statusCode = framework.Wait
    			} else {
    				err := status.AsError()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 60.9K bytes
    - Viewed (0)
  6. cmd/testdata/undeleteable-object.tgz

    ,"value":"off"},{"key":"extensions","value":".txt,.log,.csv,.json,.tar,.xml,.bin"},{"key":"mime_types","value":"text/*,application/json,application/xml,binary/octet-stream"}]},"crawler":{"_":null},"credentials":{"_":null},"drive":{"_":[{"key":"max_timeout","value":""}]},"etcd":{"_":[{"key":"endpoints","value":""},{"key":"path_prefix","value":""},{"key":"coredns_path","value":"/skydns"},{"key":"client_cert","value":""},{"key":"client_cert_key","value":""}]},"heal":{"_":[{"key":"bitrotscan","value...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 26 00:31:12 UTC 2024
    - 8.7M bytes
    - Viewed (0)
Back to top