Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 264 for Minute (0.2 sec)

  1. cmd/last-minute.go

    func (a AccElem) asTimedAction() madmin.TimedAction {
    	return madmin.TimedAction{AccTime: uint64(a.Total), Count: uint64(a.N), Bytes: uint64(a.Size)}
    }
    
    // lastMinuteLatency keeps track of last minute latency.
    type lastMinuteLatency struct {
    	Totals  [60]AccElem
    	LastSec int64
    }
    
    // Merge data of two lastMinuteLatency structure
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Jul 05 17:40:45 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  2. cmd/last-minute_gen.go

    Klaus Post <******@****.***> 1657057549 -0700
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jul 05 21:45:49 GMT 2022
    - 17.2K bytes
    - Viewed (0)
  3. cmd/last-minute_gen_test.go

    Klaus Post <******@****.***> 1657057549 -0700
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jul 05 21:45:49 GMT 2022
    - 6.8K bytes
    - Viewed (0)
  4. cmd/dynamic-timeouts_test.go

    		if duration < 100*time.Millisecond {
    			duration = 100 * time.Millisecond
    		}
    		if duration >= time.Minute {
    			timeout.LogFailure()
    		} else {
    			timeout.LogSuccess(duration)
    		}
    	}
    }
    
    func TestDynamicTimeoutAdjustExponential(t *testing.T) {
    	timeout := newDynamicTimeout(time.Minute, time.Second)
    
    	rand.Seed(0)
    
    	initial := timeout.Timeout()
    
    	for try := 0; try < 10; try++ {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Oct 14 10:08:40 GMT 2022
    - 5.4K bytes
    - Viewed (0)
  5. cmd/metrics-v3-cache.go

    	loadNodesUpDown := func() (v nodesOnline, err error) {
    		v.Online, v.Offline = globalNotificationSys.GetPeerOnlineCount()
    		return
    	}
    	return cachevalue.NewFromFunc(1*time.Minute,
    		cachevalue.Opts{ReturnLastGood: true},
    		loadNodesUpDown)
    }
    
    type driveIOStatMetrics struct {
    	readsPerSec    float64
    	readsKBPerSec  float64
    	readsAwait     float64
    	writesPerSec   float64
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  6. okcurl/src/main/kotlin/okhttp3/curl/logging/OneLineLogFormat.kt

    import java.time.ZoneOffset
    import java.time.format.DateTimeFormatterBuilder
    import java.time.temporal.ChronoField.HOUR_OF_DAY
    import java.time.temporal.ChronoField.MINUTE_OF_HOUR
    import java.time.temporal.ChronoField.NANO_OF_SECOND
    import java.time.temporal.ChronoField.SECOND_OF_MINUTE
    import java.util.logging.Formatter
    import java.util.logging.LogRecord
    
    /**
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  7. cmd/metacache.go

    		// Keep for 15 minutes after we last saw the client.
    		// Since the cache is finished keeping it a bit longer doesn't hurt us.
    		return false
    	case cache.status == scanStateError || cache.status == scanStateNone:
    		// Remove failed listings after 5 minutes.
    		return time.Since(cache.lastUpdate) > 5*time.Minute
    	}
    	return true
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5K bytes
    - Viewed (0)
  8. internal/config/scanner/scanner.go

    	case "fast":
    		cfg.Delay, cfg.MaxWait, cfg.Cycle = 1, 100*time.Millisecond, time.Minute
    	case "default":
    		cfg.Delay, cfg.MaxWait, cfg.Cycle = 2, time.Second, time.Minute
    	case "slow":
    		cfg.Delay, cfg.MaxWait, cfg.Cycle = 10, 15*time.Second, time.Minute
    	case "slowest":
    		cfg.Delay, cfg.MaxWait, cfg.Cycle = 100, 15*time.Second, 30*time.Minute
    	default:
    		return cfg, fmt.Errorf("unknown '%s' value", speed)
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 01:10:30 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  9. cmd/update-notifier_test.go

    		{60 * time.Second, "my_download_url", "1 minute before the latest release"},
    		{61 * time.Second, "my_download_url", "1 minute before the latest release"},
    
    		// Testcase index 10
    		{37 * time.Minute, "my_download_url", "37 minutes before the latest release"},
    		{1 * time.Hour, "my_download_url", "1 hour before the latest release"},
    		{61 * time.Minute, "my_download_url", "1 hour before the latest release"},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Jul 31 15:36:19 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  10. cmd/lock-rest-server.go

    	lockMaintenanceInterval = 1 * time.Minute
    
    	// Lock validity duration
    	lockValidityDuration = 1 * time.Minute
    )
    
    // lockMaintenance loops over all locks and discards locks
    // that have not been refreshed for some time.
    func lockMaintenance(ctx context.Context) {
    	if !globalIsDistErasure {
    		return
    	}
    
    	// Initialize a new ticker with 1 minute between each ticks.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 5.9K bytes
    - Viewed (0)
Back to top