Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for pool_id (0.15 sec)

  1. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

          expected.assertSuppressed { throwables: List<Throwable>? ->
            assertThat(throwables!!.size).isEqualTo(1)
          }
        }
      }
    
      /**
       * When a pooled connection fails, don't blame the route. Otherwise pooled connection failures can
       * cause unnecessary SSL fallbacks.
       *
       * https://github.com/square/okhttp/issues/515
       */
      @Test
      fun sslFallbackNotUsedWhenRecycledConnectionFails() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CallTest.kt

        assertThat(server.takeRequest().sequenceNumber).isEqualTo(2)
      }
    
      /**
       * Each OkHttpClient used to get its own instance of NullProxySelector, and because these weren't
       * equal their connections weren't pooled. That's a nasty performance bug!
       *
       * https://github.com/square/okhttp/issues/5519
       */
      @Test
      fun connectionPoolingWithFreshClientSamePool() {
        server.enqueue(MockResponse(body = "abc"))
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  3. cmd/admin-handlers.go

    	hostAnonymizer := map[string]string{}
    	hosts := set.NewStringSet()
    	srvrIdx := 0
    
    	for poolIdx, pool := range globalEndpoints {
    		for _, endpoint := range pool.Endpoints {
    			if !hosts.Contains(endpoint.Host) {
    				hosts.Add(endpoint.Host)
    				srvrIdx++
    			}
    			anonymizeHost(hostAnonymizer, endpoint, poolIdx+1, srvrIdx)
    		}
    	}
    	return hostAnonymizer
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  4. cmd/metrics-v2.go

    			Description: getClusterHealthStatusMD(),
    			Value:       float64(health),
    		})
    
    		for _, h := range result.ESHealth {
    			labels := map[string]string{
    				"pool": strconv.Itoa(h.PoolID),
    				"set":  strconv.Itoa(h.SetID),
    			}
    			metrics = append(metrics, MetricV2{
    				Description:    getClusterErasureSetReadQuorumMD(),
    				VariableLabels: labels,
    				Value:          float64(h.ReadQuorum),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/CacheTest.kt

        assertThat(recordedRequest2.requestLine).isEqualTo("GET /bar HTTP/1.1")
        assertThat(recordedRequest2.sequenceNumber).isEqualTo(1)
    
        // an unrelated request should reuse the pooled connection
        val request3 = Request.Builder().url(server.url("/baz")).build()
        val response3 = client.newCall(request3).execute()
        assertThat(response3.body.string()).isEqualTo("DEF")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
Back to top