- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 495 for DELAY (0.18 sec)
-
pkg/queue/delay.go
func (d *delayQueue) Push(task Task) { d.pushInternal(&delayTask{do: task, runAt: time.Now()}) } // PushDelayed will execute the task after waiting for the delay func (d *delayQueue) PushDelayed(t Task, delay time.Duration) { task := &delayTask{do: t, runAt: time.Now().Add(delay)} d.pushInternal(task) } // pushInternal will enqueue the delayTask with retries. func (d *delayQueue) pushInternal(task *delayTask) { select {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jul 20 06:27:31 UTC 2023 - 6.7K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/wait/delay.go
type DelayFunc func() time.Duration // Timer takes an arbitrary delay function and returns a timer that can handle arbitrary interval changes. // Use Backoff{...}.Timer() for simple delays and more efficient timers. func (fn DelayFunc) Timer(c clock.Clock) Timer { return &variableTimer{fn: fn, new: c.NewTimer} } // Until takes an arbitrary delay function and runs until cancelled or the condition indicates exit. This
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 14 19:14:11 UTC 2023 - 1.7K bytes - Viewed (0) -
releasenotes/notes/delay-app-start.yaml
Brian Avery <******@****.***> 1597180858 -0400
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Aug 11 21:20:58 UTC 2020 - 242 bytes - Viewed (0) -
samples/bookinfo/networking/virtual-service-ratings-test-delay.yaml
apiVersion: networking.istio.io/v1alpha3 kind: VirtualService metadata: name: ratings spec: hosts: - ratings http: - match: - headers: end-user: exact: jason fault: delay: percentage: value: 100.0 fixedDelay: 7s route: - destination: host: ratings subset: v1 - route: - destination: host: ratings
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Aug 22 12:35:03 UTC 2018 - 422 bytes - Viewed (0) -
pkg/test/util/retry/retry.go
return func(cfg *config) { cfg.delay = delay cfg.delayMax = delay } } func BackoffDelay(delay time.Duration) Option { return func(cfg *config) { cfg.delay = delay // Currently, hardcode to 16 backoffs. We can make it configurable if needed cfg.delayMax = delay * 16 } } // Converge sets the number of successes in a row needed to count a success.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Aug 08 16:43:05 UTC 2023 - 5.6K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_termination_order_test.go
wg.Add(1) go waitAndExit(c.Name) } // wait for our simulated containers to exit wg.Wait() getDelay := func(name string) int64 { delay, ok := delays.Load(name) if !ok { t.Errorf("unable to find delay for container %s", name) } return delay.(int64) } for _, tc := range []struct { containerName string expectedDelay int64 }{ // sidecars should exit in reverse order, so
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 18 00:07:21 UTC 2023 - 6.7K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ListeningScheduledExecutorService.java
@Override ListenableScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit); /** * Duration-based overload of {@link #schedule(Runnable, long, TimeUnit)}. * * @since 29.0 */ default ListenableScheduledFuture<?> schedule(Runnable command, Duration delay) { return schedule(command, toNanosSaturated(delay), TimeUnit.NANOSECONDS); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 04 09:45:04 UTC 2023 - 3.6K bytes - Viewed (0) -
internal/config/scanner/scanner.go
delay := env.Get(EnvDelayLegacy, "") if delay == "" { delay = env.Get(EnvDelay, kvs.GetWithDefault(Delay, DefaultKVS)) } cfg.Delay, err = strconv.ParseFloat(delay, 64) if err != nil { return err } maxWait := env.Get(EnvMaxWaitLegacy, "") if maxWait == "" { maxWait = env.Get(EnvMaxWait, kvs.GetWithDefault(MaxWait, DefaultKVS)) } cfg.MaxWait, err = time.ParseDuration(maxWait) if err != nil { return err
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 5.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/IntervalControlHelper.java
while (!crawlerRunning) { ThreadUtil.sleepQuietly(crawlerWaitMillis); } } public void delayByRules() { final long delay = getDelay(); if (delay > 0) { ThreadUtil.sleep(delay); } } protected long getDelay() { if (ruleList.isEmpty()) { return 0; } final Calendar cal = getCurrentCal();
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.8K bytes - Viewed (0) -
src/runtime/netpoll_epoll.go
// Returns list of goroutines that become runnable. // delay < 0: blocks indefinitely // delay == 0: does not block, just polls // delay > 0: block for up to that many nanoseconds func netpoll(delay int64) (gList, int32) { if epfd == -1 { return gList{}, 0 } var waitms int32 if delay < 0 { waitms = -1 } else if delay == 0 { waitms = 0 } else if delay < 1e6 { waitms = 1 } else if delay < 1e15 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 4.6K bytes - Viewed (0)