- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for CreateOrAdjustGlobalBuffer (0.11 sec)
-
internal/logger/targets.go
continue } var newTgt *http.Target for ii := range tgts { if currentTgt.Name() == tgts[ii].Name() { newTgt = tgts[ii] currentTgt.AssignMigrateTarget(newTgt) http.CreateOrAdjustGlobalBuffer(currentTgt, newTgt) break } } } for _, t := range tgts { err := t.Init(ctx) if err != nil { errs = append(errs, err) } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 03 15:44:50 UTC 2024 - 6K bytes - Viewed (0) -
internal/logger/target/http/http.go
if time.Since(h.lastStarted).Seconds() > 30 { return } } } } // CreateOrAdjustGlobalBuffer will create or adjust the global log entry buffers // which are used to migrate log entries between old and new targets. func CreateOrAdjustGlobalBuffer(currentTgt *Target, newTgt *Target) { logChLock.Lock() defer logChLock.Unlock()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Sep 11 22:20:42 UTC 2024 - 15.6K bytes - Viewed (0)