Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 249 for server1 (0.6 sec)

  1. cmd/speedtest.go

    					errStr = fmt.Sprintf("no results for uploads upon first attempt, concurrency %d and duration %s", opts.concurrencyStart, opts.duration)
    				}
    
    				result.PUTStats.Servers = append(result.PUTStats.Servers, madmin.SpeedTestStatServer{
    					Endpoint:         throughputHighestResults[i].Endpoint,
    					ThroughputPerSec: throughputHighestResults[i].Uploads / uint64(durationSecs),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 28 18:04:17 GMT 2024
    - 9K bytes
    - Viewed (0)
  2. internal/http/server.go

    func (srv *Server) UseReadHeaderTimeout(d time.Duration) *Server {
    	srv.ReadHeaderTimeout = d
    	return srv
    }
    
    // UseHandler configure final handler for this HTTP *Server
    func (srv *Server) UseHandler(h http.Handler) *Server {
    	srv.Handler = h
    	return srv
    }
    
    // UseTLSConfig pass configured TLSConfig for this HTTP *Server
    func (srv *Server) UseTLSConfig(cfg *tls.Config) *Server {
    	srv.TLSConfig = cfg
    	return srv
    }
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 09 21:25:16 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  3. internal/dsync/dsync-server_test.go

    	// and positive values indicating number of read locks
    	lockMap map[string]int64
    
    	// Refresh returns lock not found if set to true
    	lockNotFound bool
    
    	// Set to true if you want peers servers to do not respond
    	responseDelay int64
    }
    
    func (l *lockServer) setRefreshReply(refreshed bool) {
    	l.mutex.Lock()
    	defer l.mutex.Unlock()
    	l.lockNotFound = !refreshed
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jan 23 16:46:37 GMT 2023
    - 8.3K bytes
    - Viewed (0)
  4. cmd/storage-rest-server.go

    			subrouter.Methods(http.MethodPost).Path(storageRESTVersionPrefix + storageRESTMethodReadVersion).HandlerFunc(h(server.ReadVersionHandler))
    			subrouter.Methods(http.MethodPost).Path(storageRESTVersionPrefix + storageRESTMethodReadXL).HandlerFunc(h(server.ReadXLHandler))
    			subrouter.Methods(http.MethodPost).Path(storageRESTVersionPrefix + storageRESTMethodCreateFile).HandlerFunc(h(server.CreateFileHandler))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  5. cmd/metrics-resource.go

    type ResourceMetrics map[string]ResourceMetric
    
    // ResourceMetric represents a single resource metric
    // The metrics are collected from all servers periodically
    // and stored in the resource metrics map.
    // It also maintains the count of number of times this metric
    // was collected since the server started, and the sum,
    // average and max values across the same.
    type ResourceMetric struct {
    	Name   MetricName
    	Labels map[string]string
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 17.4K bytes
    - Viewed (0)
  6. cmd/erasure-server-pool-decom_test.go

    Anis Eleuch <******@****.***> 1688402860 +0100
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jul 03 16:47:40 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  7. cmd/bootstrap-peer-server.go

    			retries++
    			// after 20 retries start logging that servers are not reachable yet
    			if retries >= 20 {
    				logger.Info(fmt.Sprintf("Waiting for at least %d remote servers with valid configuration to be online", len(clnts)/2))
    				if len(offlineEndpoints) > 0 {
    					logger.Info(fmt.Sprintf("Following servers are currently offline or unreachable %s", offlineEndpoints))
    				}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  8. internal/crypto/sse_test.go

    		Headers: http.Header{
    			"X-Amz-Server-Side-Encryption-Customer-Algorithm": []string{"AES256"},
    			"X-Amz-Server-Side-Encryption-Customer-Key":       []string{"MzJieXRlc2xvbmdzZWNyZXRrZXltdXN0cHJvdmlkZWQ="},
    			"X-Amz-Server-Side-Encryption-Customer-Key-Md5":   []string{"7PpPLAK26ONlVUGOWlusfg=="},
    		},
    		Bucket: "bucket",
    		Object: "object",
    		Metadata: map[string]string{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 8.4K bytes
    - Viewed (0)
  9. internal/dsync/dsync_test.go

    		t.Fatal("Lock context canceled which is not expected")
    	case <-timer.C:
    	}
    
    	// Should be safe operation in all cases
    	dm.Unlock(context.Background())
    }
    
    // Test canceling context while quorum servers report lock not found
    func TestFailedRefreshLock(t *testing.T) {
    	if testing.Short() {
    		t.Skip("skipping test in short mode.")
    	}
    
    	// Simulate Refresh response to return no locking found
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 24 03:49:07 GMT 2022
    - 11K bytes
    - Viewed (0)
  10. istioctl/pkg/admin/istiodconfig_test.go

    }
    
    func setupHTTPServer() (*httptest.Server, *url.URL) {
    	handler := http.NewServeMux()
    	handler.HandleFunc("/scopej/ads", adsHandler)
    	handler.HandleFunc("/scopej/resource", resourceHandler)
    	server := httptest.NewServer(handler)
    	url, _ := url.Parse(server.URL)
    	return server, url
    }
    
    func Test_flagState_run(t *testing.T) {
    	server, url := setupHTTPServer()
    	defer server.Close()
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 6.2K bytes
    - Viewed (0)
Back to top