Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for _milliseconds (0.26 sec)

  1. cmd/metrics-v3-cluster-iam.go

    	syncSuccesses                          = "sync_successes"
    )
    
    var (
    	lastSyncDurationMillisMD                 = NewCounterMD(lastSyncDurationMillis, "Last successful IAM data sync duration in milliseconds")
    	pluginAuthnServiceFailedRequestsMinuteMD = NewCounterMD(pluginAuthnServiceFailedRequestsMinute, "When plugin authentication is configured, returns failed requests count in the last full minute")
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu May 02 08:20:42 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. cmd/leak-detect_test.go

    import (
    	"runtime/debug"
    	"sort"
    	"strings"
    	"time"
    )
    
    const (
    	// deadline (in seconds) up to which the go routine leak detection has to be retried.
    	leakDetectDeadline = 5
    	// pause time (in milliseconds) between each snapshot at the end of the go routine leak detection.
    	leakDetectPauseTimeMs = 50
    )
    
    // LeakDetect - type with  methods for go routine leak detection.
    type LeakDetect struct {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. internal/cachevalue/cache.go

    	ttl := t.ttl
    	vTime := t.lastUpdateMs.Load()
    	tNow := time.Now().UnixMilli()
    	if v != nil && tNow-vTime < ttl.Milliseconds() {
    		return *v, nil
    	}
    
    	// Fetch new value asynchronously, while we do not return an error
    	// if v != nil value or
    	if t.opts.NoWait && v != nil && tNow-vTime < ttl.Milliseconds()*2 {
    		if t.updating.TryLock() {
    			go func() {
    				defer t.updating.Unlock()
    				t.update(context.Background())
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri May 24 12:50:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. src/main/resources/fess_env_crawler.properties

    framework.debug = false
    
    # one day: 86400000, three days: 259200000, five days: 432000000, one week: 604800000, one year: 31556926000
    # special script :: absolute mode: $(2014/07/10), relative mode: addDay(3).addMonth(4)
    # The milliseconds for (relative or absolute) adjust time (set only when test) @LongType *dynamic in development
    time.adjust.time.millis = 0
    
    # ----------------------------------------------------------
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Mon Jan 29 07:34:32 UTC 2018
    - 2.2K bytes
    - Viewed (0)
  5. src/main/resources/fess_env_thumbnail.properties

    framework.debug = false
    
    # one day: 86400000, three days: 259200000, five days: 432000000, one week: 604800000, one year: 31556926000
    # special script :: absolute mode: $(2014/07/10), relative mode: addDay(3).addMonth(4)
    # The milliseconds for (relative or absolute) adjust time (set only when test) @LongType *dynamic in development
    time.adjust.time.millis = 0
    
    # ----------------------------------------------------------
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Mon Feb 12 13:38:57 UTC 2018
    - 2.2K bytes
    - Viewed (0)
  6. internal/grid/muxserver.go

    	var cancel context.CancelFunc
    	ctx = setCaller(ctx, c.remote)
    	if msg.DeadlineMS > 0 {
    		ctx, cancel = context.WithTimeout(ctx, time.Duration(msg.DeadlineMS)*time.Millisecond)
    	} else {
    		ctx, cancel = context.WithCancel(ctx)
    	}
    	m := muxServer{
    		ID:        msg.MuxID,
    		RecvSeq:   msg.Seq + 1,
    		SendSeq:   msg.Seq,
    		ctx:       ctx,
    		cancel:    cancel,
    		parent:    c,
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  7. internal/ioutil/ioutil_test.go

    	work := NewDeadlineWorker(500 * time.Millisecond)
    
    	err := work.Run(func() error {
    		time.Sleep(600 * time.Millisecond)
    		return nil
    	})
    	if err != context.DeadlineExceeded {
    		t.Error("DeadlineWorker shouldn't be successful - should return context.DeadlineExceeded")
    	}
    
    	err = work.Run(func() error {
    		time.Sleep(450 * time.Millisecond)
    		return nil
    	})
    	if err != nil {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. doc/next/6-stdlib/99-minor/os/user/68312.md

    On Windows, [Current] has been made considerably faster when
    the current user is joined to a slow domain, which is the
    usual case for many corporate users. The new implementation
    performance is now in the order of milliseconds, compared to
    the previous implementation which could take several seconds,
    Registered: Tue Oct 29 11:13:09 UTC 2024
    - Last Modified: Wed Aug 21 19:59:22 UTC 2024
    - 332 bytes
    - Viewed (0)
  9. cmd/dynamic-timeouts_test.go

    	const successTimeout = 20 * time.Second
    
    	for i := 0; i < dynamicTimeoutLogSize; i++ {
    
    		rnd := f()
    		duration := time.Duration(float64(successTimeout) * rnd)
    
    		if duration < 100*time.Millisecond {
    			duration = 100 * time.Millisecond
    		}
    		if duration >= time.Minute {
    			timeout.LogFailure()
    		} else {
    			timeout.LogSuccess(duration)
    		}
    	}
    }
    
    func TestDynamicTimeoutAdjustExponential(t *testing.T) {
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Oct 14 10:08:40 UTC 2022
    - 5.4K bytes
    - Viewed (0)
  10. src/main/resources/fess_env.properties

    framework.debug = false
    
    # one day: 86400000, three days: 259200000, five days: 432000000, one week: 604800000, one year: 31556926000
    # special script :: absolute mode: $(2014/07/10), relative mode: addDay(3).addMonth(4)
    # The milliseconds for (relative or absolute) adjust time (set only when test) @LongType *dynamic in development
    time.adjust.time.millis = 0
    
    # ----------------------------------------------------------
    Registered: Mon Oct 28 08:04:08 UTC 2024
    - Last Modified: Sat Aug 07 04:53:24 UTC 2021
    - 2.2K bytes
    - Viewed (0)
Back to top