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

Method GetNiceRatio

go/base/context.go:795–800  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

793}
794
795func (mctx *MigrationContext) GetNiceRatio() float64 {
796 mctx.throttleMutex.Lock()
797 defer mctx.throttleMutex.Unlock()
798
799 return mctx.niceRatio
800}
801
802func (mctx *MigrationContext) SetNiceRatio(newRatio float64) {
803 if newRatio < 0.0 {

Callers 3

applyServerCommandMethod · 0.80
executeWriteFuncsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected