Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for Riddle (0.23 sec)

  1. internal/http/server.go

    )
    
    const (
    	shutdownPollIntervalMax = 500 * time.Millisecond
    
    	// DefaultShutdownTimeout - default shutdown timeout to gracefully shutdown server.
    	DefaultShutdownTimeout = 5 * time.Second
    
    	// DefaultIdleTimeout for idle inactive connections
    	DefaultIdleTimeout = 30 * time.Second
    
    	// DefaultReadHeaderTimeout for very slow inactive connections
    	DefaultReadHeaderTimeout = 30 * time.Second
    
    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)
  2. cmd/metrics.go

    				// we do not have to log this.
    				return
    			}
    		}
    		if closer, ok := enc.(expfmt.Closer); ok {
    			closer.Close()
    		}
    	})
    }
    
    // NoAuthMiddleware no auth middle ware.
    func NoAuthMiddleware(h http.Handler) http.Handler {
    	return h
    }
    
    // AuthMiddleware checks if the bearer token is valid and authorized.
    func AuthMiddleware(h http.Handler) http.Handler {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 02 06:48:36 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  3. cmd/erasure-server-pool-rebalance.go

    		z.rebalMeta = r
    	} else {
    		z.updateRebalanceStats(ctx)
    	}
    	z.rebalMu.Unlock()
    
    	return nil
    }
    
    // updates rebalance.bin from let's say 2 pool setup in the middle
    // of a rebalance, was expanded can cause z.rebalMeta to be outdated
    // due to a missing new pool. This function tries to handle this
    // scenario, albeit rare it seems to have occurred in the wild.
    //
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 19:29:28 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  4. cmd/testdata/undeleteable-object.tgz

    ":"auth_token","value":""}]},"policy_plugin":{"_":[{"key":"url","value":""},{"key":"auth_token","value":""},{"key":"enable_http2","value":"off"}]},"region":{"_":[{"key":"name","value":""}]},"scanner":{"_":[{"key":"speed","value":"default"},{"key":"idle_speed","value":""},{"key":"alert_excess_versions","value":"100"},{"key":"alert_excess_folders","value":"50000"},{"key":"delay","value":""},{"key":"max_wait","value":""},{"key":"cycle","value":""}]},"site":{"_":[{"key":"name","value":""},{"key":"re...
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 8.7M bytes
    - Viewed (0)
  5. internal/http/transports.go

    	// 	if trhttp2 != nil {
    	// 		// ReadIdleTimeout is the timeout after which a health check using ping
    	// 		// frame will be carried out if no frame is received on the
    	// 		// connection. 5 minutes is sufficient time for any idle connection.
    	// 		trhttp2.ReadIdleTimeout = 5 * time.Minute
    	// 		// PingTimeout is the timeout after which the connection will be closed
    	// 		// if a response to Ping is not received.
    	// 		trhttp2.PingTimeout = dialTimeout
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  6. internal/s3select/csv/testdata/testdata.zip

    N 1 -73.861488342285156 40.7301025390625 -73.870231628417969 40.725795745849609 1 1.10 6.5 0 0.5 1.75 0 8.75 1 196 160 green 1.81 0.0 0.0 59 43 10.74 1287 717.01 4 Queens 071701 4071701 I QN18 Rego Park 4108 738 679 4 Queens 067900 4067900 I QN21 Middle Village 4110 3389287 2 2014-03-14 19:56:46 2014-03-14 20:04:00 N 1 -73.862480163574219 40.730445861816406 -73.842384338378906 40.722946166992187 1 2.60 9 1 0.5 0 0 10.5 2 1 196 95 green 0.00 0.0 0.0 46 22 5.59 1287 717.01 4 Queens 071701 4071701 I...
    ZIP Archive
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 111.6K bytes
    - Viewed (0)
  7. internal/rest/client.go

    		}
    		return nil, errors.New(resp.Status)
    	}
    	if !c.NoMetrics {
    		resp.Body = &respBodyMonitor{ReadCloser: resp.Body, expectTimeouts: expectTimeouts}
    	}
    	return resp.Body, nil
    }
    
    // Close closes all idle connections of the underlying http client
    func (c *Client) Close() {
    	atomic.StoreInt32(&c.connected, closed)
    }
    
    // NewClient - returns new REST client.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  8. cmd/common-main.go

    	ctxt.RecvBufSize = ctx.Int("recv-buf-size")
    
    	ctxt.ShutdownTimeout = ctx.Duration("shutdown-timeout")
    	ctxt.IdleTimeout = ctx.Duration("idle-timeout")
    	ctxt.ReadHeaderTimeout = ctx.Duration("read-header-timeout")
    	ctxt.MaxIdleConnsPerHost = ctx.Int("max-idle-conns-per-host")
    
    	if conf := ctx.String("config"); len(conf) > 0 {
    		err = mergeServerCtxtFromConfigFile(conf, ctxt)
    	} else {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  9. cmd/storage-rest-client.go

    		return true
    	// Corner case, the server closed the connection with a keep-alive timeout
    	// some requests are not retried internally, such as POST request with written body
    	case strings.Contains(err.Error(), "server closed idle connection"):
    		return true
    	}
    
    	return false
    }
    
    // Converts network error to storageErr. This function is
    // written so that the storageAPI errors are consistent
    // across network disks.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  10. internal/s3select/select_test.go

        <RequestProgress>
            <Enabled>FALSE</Enabled>
        </RequestProgress>
    	<ScanRange><End>35</End></ScanRange>
    </SelectObjectContentRequest>`),
    		},
    		{
    			name:  "select-middle",
    			input: testInput,
    			// Since we are doing offset, no headers are used.
    			wantResult: `{"_1":"a text, with comma"}`,
    			requestXML: []byte(`<?xml version="1.0" encoding="UTF-8"?>
    <SelectObjectContentRequest>
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
Back to top