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

Method SetThrottleQuery

go/base/context.go:752–757  ·  view source on GitHub ↗
(newQuery string)

Source from the content-addressed store, hash-verified

750}
751
752func (mctx *MigrationContext) SetThrottleQuery(newQuery string) {
753 mctx.throttleMutex.Lock()
754 defer mctx.throttleMutex.Unlock()
755
756 mctx.throttleQuery = newQuery
757}
758
759func (mctx *MigrationContext) GetThrottleHTTP() string {
760 mctx.throttleHTTPMutex.Lock()

Callers 2

mainFunction · 0.95
applyServerCommandMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected