Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 444 for timeout (0.07 sec)

  1. internal/event/target/kafka.go

    			return errors.New("batch should be enabled only if queue dir is enabled")
    		}
    	}
    	if k.BatchCommitTimeout > 0 {
    		if k.QueueDir == "" || k.BatchSize <= 1 {
    			return errors.New("batch commit timeout should be set only if queue dir is enabled and batch size > 1")
    		}
    	}
    	return nil
    }
    
    // KafkaTarget - Kafka target.
    type KafkaTarget struct {
    	initOnce once.Init
    
    	id         event.TargetID
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  2. cmd/prepare-storage.go

    func isServerResolvable(endpoint Endpoint, timeout time.Duration) error {
    	serverURL := &url.URL{
    		Scheme: endpoint.Scheme,
    		Host:   endpoint.Host,
    		Path:   pathJoin(healthCheckPathPrefix, healthCheckLivenessPath),
    	}
    
    	httpClient := &http.Client{
    		Transport: globalInternodeTransport,
    	}
    
    	ctx, cancel := context.WithTimeout(GlobalContext, timeout)
    	defer cancel()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 20:51:54 UTC 2024
    - 11.1K bytes
    - Viewed (1)
  3. guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

          Future<V> future, Class<X> exceptionClass, long timeout, TimeUnit unit) throws X {
        // TODO(cpovirk): benchmark a version of this method that accepts a GetCheckedTypeValidator
        bestGetCheckedTypeValidator().validateClass(exceptionClass);
        try {
          return future.get(timeout, unit);
        } catch (InterruptedException e) {
          currentThread().interrupt();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

          assertTrue(thread.isAlive());
        }
      }
    
      /** Checks that future.get times out, with the default timeout of {@code timeoutMillis()}. */
      void assertFutureTimesOut(Future<?> future) {
        assertFutureTimesOut(future, timeoutMillis());
      }
    
      /** Checks that future.get times out, with the given millisecond timeout. */
      void assertFutureTimesOut(Future<?> future, long timeoutMillis) {
        long startTime = System.nanoTime();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

            override fun cancel() = TODO()
    
            override fun isExecuted(): Boolean = TODO()
    
            override fun isCanceled(): Boolean = TODO()
    
            override fun timeout(): Timeout = TODO()
    
            override fun clone(): Call = TODO()
          }
      }
    
      @Test
      fun callback() {
        val callback =
          object : Callback {
            override fun onFailure(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/net/NetServerEnum2.java

            this.name = "\\PIPE\\LANMAN";
    
            this.maxParameterCount = 8;
            this.maxDataCount = 16384;
            this.maxSetupCount = (byte) 0x00;
            this.setupCount = 0;
            this.timeout = 5000;
        }
    
    
        @Override
        public void reset ( int key, String lastN ) {
            super.reset();
            this.lastName = lastN;
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/util/AdHocPerformanceScenario.kt

        val id = "Util_Performance_AdHocPerformanceScenario${os.asName()}${arch.asName()}"
        name = "AdHoc Performance Scenario - ${os.asName()} ${arch.asName()}"
        id(id)
    
        applyPerformanceTestSettings(os = os, arch = arch, timeout = 420)
        artifactRules = individualPerformanceTestArtifactRules
    
        params {
            text(
                "performance.baselines",
                "",
                display = ParameterDisplay.PROMPT,
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 03 06:45:18 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

          assertTrue(thread.isAlive());
        }
      }
    
      /** Checks that future.get times out, with the default timeout of {@code timeoutMillis()}. */
      void assertFutureTimesOut(Future<?> future) {
        assertFutureTimesOut(future, timeoutMillis());
      }
    
      /** Checks that future.get times out, with the given millisecond timeout. */
      void assertFutureTimesOut(Future<?> future, long timeoutMillis) {
        long startTime = System.nanoTime();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  9. istioctl/pkg/xds/client.go

    	err = adscConn.Run()
    	if err != nil {
    		return nil, fmt.Errorf("ADSC: failed running %v", err)
    	}
    
    	err = adscConn.Send(dr)
    	if err != nil {
    		return nil, err
    	}
    	response, err := adscConn.WaitVersion(opts.Timeout, dr.TypeUrl, "")
    	return response, err
    }
    
    // DialOptions constructs gRPC dial options from command line configuration
    func DialOptions(opts clioptions.CentralControlPlaneOptions,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Dec 19 22:42:42 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  10. .teamcity/src/main/kotlin/common/extensions.kt

     */
    const val hiddenArtifactDestination = ".teamcity/gradle-logs"
    
    fun BuildType.applyDefaultSettings(os: Os = Os.LINUX, arch: Arch = Arch.AMD64, buildJvm: Jvm = BuildToolBuildJvm, timeout: Int = 30) {
        artifactRules = """
            *.psoutput => $hiddenArtifactDestination
            *.threaddump => $hiddenArtifactDestination
            build/report-* => $hiddenArtifactDestination
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 10 03:25:26 UTC 2024
    - 13.2K bytes
    - Viewed (0)
Back to top