Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for duration (0.29 sec)

  1. cmd/xl-storage-disk-id-check.go

    }
    
    func storageTrace(s storageMetric, startTime time.Time, duration time.Duration, path string, err string, custom map[string]string) madmin.TraceInfo {
    	return madmin.TraceInfo{
    		TraceType: madmin.TraceStorage,
    		Time:      startTime,
    		NodeName:  globalLocalNodeName,
    		FuncName:  "storage." + s.String(),
    		Duration:  duration,
    		Path:      path,
    		Error:     err,
    		Custom:    custom,
    	}
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool-rebalance.go

    	var errStr string
    	if err != nil {
    		errStr = err.Error()
    	}
    	return madmin.TraceInfo{
    		TraceType: madmin.TraceRebalance,
    		Time:      startTime,
    		NodeName:  globalLocalNodeName,
    		FuncName:  fmt.Sprintf("rebalance.%s (pool-id=%d)", r.String(), poolIdx),
    		Duration:  duration,
    		Path:      path,
    		Error:     errStr,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 19:29:28 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

          )
    
        override fun nanoTime() = System.nanoTime()
    
        override fun coordinatorNotify(taskRunner: TaskRunner) {
          taskRunner.condition.signal()
        }
    
        /**
         * Wait a duration in nanoseconds. Unlike [java.lang.Object.wait] this interprets 0 as
         * "don't wait" instead of "wait forever".
         */
        @Throws(InterruptedException::class)
        @Suppress("PLATFORM_CLASS_MAPPED_TO_KOTLIN")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  4. cmd/erasure.go

    	// This goroutine owns the cache.
    	var saverWg sync.WaitGroup
    	saverWg.Add(1)
    	go func() {
    		// Add jitter to the update time so multiple sets don't sync up.
    		updateTime := 30*time.Second + time.Duration(float64(10*time.Second)*rand.Float64())
    		t := time.NewTicker(updateTime)
    		defer t.Stop()
    		defer saverWg.Done()
    		var lastSave time.Time
    
    		for {
    			select {
    			case <-t.C:
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 16K bytes
    - Viewed (1)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

            ) {
              taskRunner.assertThreadHoldsLock()
              check(waitingCoordinatorTask == null)
              if (nanos == 0L) return
    
              // Yield until notified, interrupted, or the duration elapses.
              val waitUntil = nanoTime + nanos
              val self = currentTask
              waitingCoordinatorTask = self
              waitingCoordinatorNotified = false
              waitingCoordinatorInterrupted = false
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  6. cmd/erasure-multipart.go

    			})
    
    			return nil
    		}, index)
    	}
    	g.Wait()
    }
    
    // Clean-up the old multipart uploads. Should be run in a Go routine.
    func (er erasureObjects) cleanupStaleUploads(ctx context.Context, expiry time.Duration) {
    	// run multiple cleanup's local to this server.
    	var wg sync.WaitGroup
    	for _, disk := range er.getLocalDisks() {
    		if disk != nil {
    			wg.Add(1)
    			go func(disk StorageAPI) {
    				defer wg.Done()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  7. cmd/iam-store.go

    	// IAM group members file
    	iamGroupMembersFile = "members.json"
    
    	// IAM format file
    	iamFormatFile = "format.json"
    
    	iamFormatVersion1 = 1
    
    	minServiceAccountExpiry time.Duration = 15 * time.Minute
    	maxServiceAccountExpiry time.Duration = 365 * 24 * time.Hour
    )
    
    var errInvalidSvcAcctExpiration = errors.New("invalid service account expiration")
    
    type iamFormat struct {
    	Version int `json:"version"`
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  8. cmd/erasure-healing.go

    	tr := madmin.TraceInfo{
    		TraceType: madmin.TraceHealing,
    		Time:      startTime,
    		NodeName:  globalLocalNodeName,
    		FuncName:  "heal." + funcName.String(),
    		Duration:  time.Since(startTime),
    		Path:      pathJoin(bucket, decodeDirObject(object)),
    	}
    	if opts != nil {
    		tr.Custom = map[string]string{
    			"dry":    fmt.Sprint(opts.DryRun),
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  9. cmd/erasure-server-pool.go

    			err = z.Init(ctx) // Initializes all pools.
    		})
    		if err != nil {
    			if !configRetriableErrors(err) {
    				logger.Fatal(err, "Unable to initialize backend")
    			}
    			retry := time.Duration(r.Float64() * float64(5*time.Second))
    			storageLogIf(ctx, fmt.Errorf("Unable to initialize backend: %w, retrying in %s", err, retry))
    			time.Sleep(retry)
    			attempt++
    			continue
    		}
    		break
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 80.1K bytes
    - Viewed (0)
  10. CREDITS

    of action, whether now known or unknown (including existing as well as
    future claims and causes of action), in the Work (i) in all territories
    worldwide, (ii) for the maximum duration provided by applicable law or
    treaty (including future time extensions), (iii) in any current or future
    medium and for any number of copies, and (iv) for any purpose whatsoever,
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:31:35 GMT 2024
    - 1.6M bytes
    - Viewed (0)
Back to top