Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 202 for millisecond (0.26 sec)

  1. internal/logger/target/http/http.go

    		// we launched a new worker.
    		if mainWorker && len(h.logCh) > cap(h.logCh)/2 {
    			nWorkers := h.workers.Load()
    			if nWorkers < h.maxWorkers {
    				if time.Since(h.lastStarted).Milliseconds() > 10 {
    					h.lastStarted = time.Now()
    					go h.startQueueProcessor(ctx, false)
    				}
    			}
    		}
    
    		var err error
    		if !isDirQueue {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 11 22:20:42 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

      // Guarded by this.
      private val currentPushRequests = mutableSetOf<Int>()
    
      init {
        if (builder.pingIntervalMillis != 0) {
          val pingIntervalNanos = TimeUnit.MILLISECONDS.toNanos(builder.pingIntervalMillis.toLong())
          writerQueue.schedule("$connectionName ping", pingIntervalNanos) {
            val failDueToMissingPong =
              this.withLock {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CallTest.kt

      @Test
      fun timeoutsUpdatedOnReusedConnections() {
        server.enqueue(MockResponse(body = "abc"))
        server.enqueue(
          MockResponse.Builder()
            .body("def")
            .throttleBody(1, 750, TimeUnit.MILLISECONDS)
            .build(),
        )
    
        // First request: time out after 1s.
        client =
          client.newBuilder()
            .readTimeout(Duration.ofSeconds(1))
            .build()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  4. cmd/peer-rest-client.go

    	sent := time.Now()
    	resp, err := getSysConfigRPC.Call(ctx, client.gridConn(), grid.NewMSS())
    	info = resp.ValueOrZero()
    	if ti, ok := info.Config["time-info"].(madmin.TimeInfo); ok {
    		rt := int32(time.Since(sent).Milliseconds())
    		ti.RoundtripDuration = rt
    		info.Config["time-info"] = ti
    	}
    	return info, err
    }
    
    // GetSysErrors - fetch sys errors for a remote node.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

            .build()
    
        // Delay the response to give 1 ping enough time to be sent and replied to.
        server.enqueue(
          MockResponse.Builder()
            .bodyDelay(750, TimeUnit.MILLISECONDS)
            .body("ABC")
            .build(),
        )
        val call = client.newCall(Request(server.url("/")))
        val response = call.execute()
        assertThat(response.body.string()).isEqualTo("ABC")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbFile.java

            }
            return 0;
        }
    
    
        /**
         * This URLConnection method just returns the result of <tt>lastModified</tt>.
         *
         * @return the last modified data as milliseconds since Jan 1, 1970
         */
        @Override
        public long getDate () {
            try {
                return lastModified();
            }
            catch ( SmbException se ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTransportImpl.java

                                this.credits.acquire(cost);
                            }
                            else {
                                if ( !this.credits.tryAcquire(cost, timeout, TimeUnit.MILLISECONDS) ) {
                                    throw new SmbException("Failed to acquire credits in time");
                                }
                            }
                            totalSize += size;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  8. cmd/iam.go

    	if err != nil {
    		atomic.AddUint64(&sys.TotalRefreshFailures, 1)
    		return err
    	}
    	loadDuration := time.Since(loadStartTime)
    
    	atomic.StoreUint64(&sys.LastRefreshDurationMilliseconds, uint64(loadDuration.Milliseconds()))
    	atomic.StoreUint64(&sys.LastRefreshTimeUnixNano, uint64(loadStartTime.Add(loadDuration).UnixNano()))
    	atomic.AddUint64(&sys.TotalRefreshSuccesses, 1)
    
    	if !globalSiteReplicatorCred.IsValid() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  9. api/go1.txt

    pkg time, const July Month
    pkg time, const June Month
    pkg time, const Kitchen ideal-string
    pkg time, const March Month
    pkg time, const May Month
    pkg time, const Microsecond Duration
    pkg time, const Millisecond Duration
    pkg time, const Minute Duration
    pkg time, const Monday Weekday
    pkg time, const Nanosecond Duration
    pkg time, const November Month
    pkg time, const October Month
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.15.md

    - Replaced *_admission_latencies_milliseconds_summary and *_admission_latencies_milliseconds metrics because they were reporting seconds rather than milliseconds. They were also subject to multiple naming guideline violations (units should be in base units and "duration" is the best practice labelling to measure the time a request takes). Please convert to use *_admission_duration_seconds and *_admissi...
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Thu May 05 13:44:43 UTC 2022
    - 278.9K bytes
    - Viewed (0)
Back to top