- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 44 for waitc (0.42 sec)
-
src/database/sql/sql_test.go
opening.Add(tryOpen) setHookOpenErr(func() error { // Wait for all connections to enqueue. opening.Wait() return errOffline }) for i := 0; i < tryOpen; i++ { go func() { opening.Done() // signal one connection is in flight _, err := db.Exec("will never run") errs <- err }() } opening.Wait() // wait for all workers to begin running
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 111.6K bytes - Viewed (0) -
pkg/scheduler/schedule_one_test.go
}) if err != nil { t.Fatal(err) } s.ScheduleOne(ctx) // Wait for pod to succeed or fail scheduling select { case <-eventChan: case <-time.After(wait.ForeverTestTimeout): t.Fatalf("scheduling timeout after %v", wait.ForeverTestTimeout) } stopFunc() // Wait for scheduling to return an error or succeed binding. var ( gotErr error
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:20:55 UTC 2024 - 128.1K bytes - Viewed (0) -
pkg/kubelet/kubelet.go
// fairness effect. go wait.JitterUntil(kl.syncNodeStatus, kl.nodeStatusUpdateFrequency, 0.04, true, wait.NeverStop) go kl.fastStatusUpdateOnce() // start syncing lease go kl.nodeLeaseController.Run(context.Background()) } go wait.Until(kl.updateRuntimeUp, 5*time.Second, wait.NeverStop) // Set up iptables util rules if kl.makeIPTablesUtilChains {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 126.1K bytes - Viewed (0) -
pkg/scheduler/framework/runtime/framework_test.go
}, { name: "WaitPermitPlugin", plugins: []*TestPlugin{ { name: "TestPlugin", inj: injectedResult{PermitStatus: int(framework.Wait)}, }, }, want: framework.NewStatus(framework.Wait, `one or more plugins asked to wait and no plugin rejected pod ""`), }, { name: "SuccessSuccessPermitPlugin", plugins: []*TestPlugin{ { name: "TestPlugin",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 17 09:07:27 UTC 2024 - 103K bytes - Viewed (0) -
cluster/gce/util.sh
# Report logging choice (if any). if [[ "${ENABLE_NODE_LOGGING-}" == "true" ]]; then echo "+++ Logging using Fluentd to ${LOGGING_DESTINATION:-unknown}" fi # Wait for last batch of jobs kube::util::wait-for-jobs || { code=$? echo -e "${color_red}Failed to create firewall rule.${color_norm}" >&2 exit $code } } function get-scope-flags() { local scope_flags=
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 21:47:17 UTC 2024 - 161.6K bytes - Viewed (0) -
src/runtime/proc.go
// casGToWaitingForGC transitions gp from old to _Gwaiting, and sets the wait reason. // The wait reason must be a valid isWaitingForGC wait reason. // // Use this over casgstatus when possible to ensure that a waitreason is set. func casGToWaitingForGC(gp *g, old uint32, reason waitReason) { if !reason.isWaitingForGC() { throw("casGToWaitingForGC with non-isWaitingForGC wait reason") } casGToWaiting(gp, old, reason) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 207.5K bytes - Viewed (0) -
src/net/http/server.go
// [ListenAndServeTLS] immediately return [ErrServerClosed]. Make sure the // program doesn't exit and waits instead for Shutdown to return. // // Shutdown does not attempt to close nor wait for hijacked // connections such as WebSockets. The caller of Shutdown should // separately notify such long-lived connections of shutdown and wait // for them to close, if desired. See [Server.RegisterOnShutdown] for a way to
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 123.4K bytes - Viewed (0) -
cluster/gce/gci/configure-helper.sh
function start-fluentd-resource-update { wait-for-apiserver-and-update-fluentd & } # VolumeSnapshot CRDs and controller are installed by cluster addon manager, # which may not be available at this point. Run this as a background process. function wait-for-volumesnapshot-crd-and-controller { # Wait until volumesnapshot CRDs and controller are in place. echo "Wait until volume snapshot CRDs are installed"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 10 22:07:47 UTC 2024 - 141.1K bytes - Viewed (0) -
pkg/kubelet/kubelet_test.go
} return nil } func retryWithExponentialBackOff(initialDuration time.Duration, fn wait.ConditionFunc) error { backoff := wait.Backoff{ Duration: initialDuration, Factor: 3, Jitter: 0, Steps: 6, } return wait.ExponentialBackoff(backoff, fn) } func simulateVolumeInUseUpdate( volumeName v1.UniqueVolumeName, stopCh <-chan struct{},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 106.9K bytes - Viewed (0) -
pkg/controller/garbagecollector/garbagecollector_test.go
if err != nil { t.Fatal(err) } go gc.Run(tCtx, 1) // The pseudo-code of GarbageCollector.Sync(): // GarbageCollector.Sync(client, period, stopCh): // wait.Until() loops with `period` until the `stopCh` is closed : // wait.PollImmediateUntil() loops with 100ms (hardcode) util the `stopCh` is closed: // GetDeletableResources() // gc.resyncMonitors()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 111.6K bytes - Viewed (0)