Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 97 for timeout (0.21 sec)

  1. cmd/dynamic-timeouts.go

    		// We are hitting the timeout relatively few times,
    		// so decrease the timeout towards 25 % of maximum time spent.
    		max = max * 125 / 100
    
    		timeout := atomic.LoadInt64(&dt.timeout)
    		if max < time.Duration(timeout) {
    			// Move 50% toward the max.
    			timeout = (int64(max) + timeout) / 2
    		}
    		if timeout < dt.minimum {
    			timeout = dt.minimum
    		}
    		atomic.StoreInt64(&dt.timeout, timeout)
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Aug 19 23:21:05 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  2. internal/dsync/drwmutex.go

    	drwMutexInfinite = 1<<63 - 1
    )
    
    // Timeouts are timeouts for specific operations.
    type Timeouts struct {
    	// Acquire - tolerance limit to wait for lock acquisition before.
    	Acquire time.Duration
    
    	// RefreshCall - timeout for the refresh call
    	RefreshCall time.Duration
    
    	// UnlockCall - timeout for the unlock call
    	UnlockCall time.Duration
    
    	// ForceUnlockCall - timeout for the force unlock call
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  3. .github/workflows/mint/nginx.conf

                          '$status $body_bytes_sent "$http_referer" '
                          '"$http_user_agent" "$http_x_forwarded_for"';
    
        access_log  /var/log/nginx/access.log  main;
        sendfile        on;
        keepalive_timeout  65;
    
        # include /etc/nginx/conf.d/*.conf;
    
        upstream minio {
            server minio1:9000;
            server minio2:9000;
            server minio3:9000;
            server minio4:9000;
        }
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 31 21:38:10 GMT 2023
    - 3K bytes
    - Viewed (0)
  4. .github/workflows/multipart/nginx-site1.conf

                          '$status $body_bytes_sent "$http_referer" '
                          '"$http_user_agent" "$http_x_forwarded_for"';
    
        access_log  /var/log/nginx/access.log  main;
        sendfile        on;
        keepalive_timeout  65;
    
        # include /etc/nginx/conf.d/*.conf;
    
        upstream minio {
            server site1-minio1:9000;
            server site1-minio2:9000;
            server site1-minio3:9000;
            server site1-minio4:9000;
        }
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Sep 30 10:13:56 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  5. internal/ioutil/ioutil.go

    	}
    }
    
    // DeadlineWorker implements the deadline/timeout resiliency pattern.
    type DeadlineWorker struct {
    	timeout time.Duration
    }
    
    // NewDeadlineWorker constructs a new DeadlineWorker with the given timeout.
    // To return values, use the WithDeadline helper instead.
    func NewDeadlineWorker(timeout time.Duration) *DeadlineWorker {
    	dw := &DeadlineWorker{
    		timeout: timeout,
    	}
    	return dw
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 19 11:26:59 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  6. internal/config/drive/drive.go

    type Config struct {
    	// MaxTimeout - maximum timeout for a drive operation
    	MaxTimeout time.Duration `json:"maxTimeout"`
    }
    
    // Update - updates the config with latest values
    func (c *Config) Update(new Config) error {
    	configLk.Lock()
    	defer configLk.Unlock()
    	c.MaxTimeout = getMaxTimeout(new.MaxTimeout)
    	return nil
    }
    
    // GetMaxTimeout - returns the max timeout value.
    func (c *Config) GetMaxTimeout() time.Duration {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 01:10:30 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  7. internal/dsync/drwmutex_test.go

    	if !drwm1.GetRLock(ctx1, cancel1, id, source, Options{Timeout: time.Second}) {
    		panic("Failed to acquire read lock")
    	}
    	// fmt.Println("1st read lock acquired, waiting...")
    
    	drwm2 := NewDRWMutex(ds, "simplelock")
    	ctx2, cancel2 := context.WithCancel(context.Background())
    	if !drwm2.GetRLock(ctx2, cancel2, id, source, Options{Timeout: time.Second}) {
    		panic("Failed to acquire read lock")
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Dec 24 03:49:07 GMT 2022
    - 9.7K bytes
    - Viewed (0)
  8. cmd/metrics-v3-system-drive.go

    	driveTimeoutErrorsMD = NewCounterMD(driveTimeoutErrorsTotal,
    		"Total timeout errors on a drive", allDriveLabels...)
    	driveIOErrorsMD = NewCounterMD(driveIOErrorsTotal,
    		"Total I/O errors on a drive", allDriveLabels...)
    	driveAvailabilityErrorsMD = NewCounterMD(driveAvailabilityErrorsTotal,
    		"Total availability errors (I/O errors, timeouts) on a drive",
    		allDriveLabels...)
    	driveWaitingIOMD = NewGaugeMD(driveWaitingIO,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  9. docs/bigdata/README.md

    fs.s3a.committer.staging.conflict-mode=append
    fs.s3a.committer.staging.tmp.path=/tmp/staging
    fs.s3a.committer.staging.unique-filenames=true
    fs.s3a.connection.establish.timeout=5000
    fs.s3a.connection.ssl.enabled=false
    fs.s3a.connection.timeout=200000
    fs.s3a.endpoint=http://minio:9000
    fs.s3a.impl=org.apache.hadoop.fs.s3a.S3AFileSystem
    
    fs.s3a.committer.threads=2048 # Number of threads writing to MinIO
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 14.7K bytes
    - Viewed (0)
  10. .github/workflows/mint/nginx-4-node.conf

                          '$status $body_bytes_sent "$http_referer" '
                          '"$http_user_agent" "$http_x_forwarded_for"';
    
        access_log  /var/log/nginx/access.log  main;
        sendfile        on;
        keepalive_timeout  65;
    
        # include /etc/nginx/conf.d/*.conf;
    
        upstream minio {
            server minio1:9000;
            server minio2:9000;
            server minio3:9000;
            server minio4:9000;
        }
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 31 21:38:10 GMT 2023
    - 3K bytes
    - Viewed (0)
Back to top