MCPcopy
hub / github.com/github/gh-ost / GetCriticalLoad

Method GetCriticalLoad

go/base/context.go:788–793  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

786}
787
788func (mctx *MigrationContext) GetCriticalLoad() LoadMap {
789 mctx.throttleMutex.Lock()
790 defer mctx.throttleMutex.Unlock()
791
792 return mctx.criticalLoad.Duplicate()
793}
794
795func (mctx *MigrationContext) GetNiceRatio() float64 {
796 mctx.throttleMutex.Lock()

Callers 3

applyServerCommandMethod · 0.80
criticalLoadIsMetMethod · 0.80

Calls 1

DuplicateMethod · 0.45

Tested by

no test coverage detected