- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for goroutines (0.26 sec)
-
schema/schema.go
} else { schemaCacheKey = modelType } // Load exist schema cache, return if exists if v, ok := cacheStore.Load(schemaCacheKey); ok { s := v.(*Schema) // Wait for the initialization of other goroutines to complete <-s.initialized return s, s.err } modelValue := reflect.New(modelType) tableName := namer.TableName(modelType.Name()) if tabler, ok := modelValue.Interface().(Tabler); ok {
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed Jun 12 10:52:33 UTC 2024 - 13.7K bytes - Viewed (0) -
manifests/addons/dashboards/pilot-dashboard.gen.json
"uid": "$datasource" }, "expr": "sum by (pod) (\n go_goroutines{app=\"istiod\"}\n)", "legendFormat": "Goroutines ({{pod}})" } ], "title": "Goroutines", "type": "timeseries" }, { "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 20:46:28 UTC 2024 - 23.5K bytes - Viewed (0) -
tests/integration/telemetry/api/dashboard_test.go
route: - destination: host: b port: number: 9090 ` func setupDashboardTest(done <-chan struct{}) { // Send 200 http requests, 20 tcp requests across goroutines, generating a variety of error codes. // Spread out over 20s so rate() queries will behave correctly ticker := time.NewTicker(time.Second) times := 0 for { select { case <-ticker.C: times++
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 20:46:28 UTC 2024 - 11.4K bytes - Viewed (0) -
src/time/tick_test.go
// (they are 1ns apart). If a timer, it should have stopped. if isTicker { assertTick() } else { noTick() } tim.Stop() drainAsync() noTick() // Again using select and with two goroutines waiting. tim.Reset(10000 * Second) drainAsync() done = make(chan bool, 2) done1 := make(chan bool) done2 := make(chan bool) stop := make(chan bool) go func() { select { case <-C:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 17:10:37 UTC 2024 - 14.7K bytes - Viewed (0) -
pilot/pkg/xds/delta.go
// with push. According to the spec: "It's only necessary to close a channel when it is important // to tell the receiving goroutines that all data have been sent." // Block until either a request is received or a push is triggered. // We need 2 go routines because 'read' blocks in Recv(). go s.receiveDelta(con, ids) // Wait for the proxy to be fully initialized before we start serving traffic. Because
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:37 UTC 2024 - 25.6K bytes - Viewed (0) -
cmd/bucket-lifecycle.go
res := make(DailyAllTierStats, len(t.lastDayStats)) for tier, st := range t.lastDayStats { res[tier] = st.clone() } return res } // UpdateWorkers at the end of this function leaves n goroutines waiting for // transition tasks func (t *transitionState) UpdateWorkers(n int) { t.mu.Lock() defer t.mu.Unlock() if t.objAPI == nil { // Init hasn't been called yet. return } t.updateWorkers(n)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:31:51 UTC 2024 - 33.3K bytes - Viewed (0) -
cmd/batch-expire.go
VersionsSort: WalkVersionsSortDesc, }); err != nil { // Do not need to retry if we can't list objects on source. return err } // Goroutine to periodically save batch-expire job's in-memory state saverQuitCh := make(chan struct{}) go func() { saveTicker := time.NewTicker(10 * time.Second) defer saveTicker.Stop() for { select {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jun 11 13:50:53 UTC 2024 - 21.1K bytes - Viewed (0) -
cni/pkg/cmd/root.go
installDaemonReady, watchServerReady := nodeagent.StartHealthServer() if cfg.InstallConfig.AmbientEnabled { // Start ambient controller // node agent will spawn a goroutine and watch the K8S API for events, // as well as listen for messages from the CNI binary. log.Info("Starting ambient node agent with inpod redirect mode")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 16:26:35 UTC 2024 - 13K bytes - Viewed (0) -
src/os/exec.go
// specified by name, argv and attr. The argv slice will become [os.Args] in the // new process, so it normally starts with the program name. // // If the calling goroutine has locked the operating system thread // with [runtime.LockOSThread] and modified any inheritable OS-level // thread state (for example, Linux or Plan 9 name spaces), the new // process will inherit the caller's thread state.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 22:06:47 UTC 2024 - 12.8K bytes - Viewed (0) -
pilot/pkg/bootstrap/istio_ca.go
s.initCACertsWatcher() } istioCA, err := ca.NewIstioCA(caOpts) if err != nil { return nil, fmt.Errorf("failed to create an istiod CA: %v", err) } // Start root cert rotator in a separate goroutine. istioCA.Run(s.internalStop) return istioCA, nil } func (s *Server) createSelfSignedCACertificateOptions(fileBundle *ca.SigningCAFileBundle, opts *caOptions) (*ca.IstioCAOptions, error) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 17:48:28 UTC 2024 - 20.6K bytes - Viewed (0)