()
| 742 | } |
| 743 | |
| 744 | func (mctx *MigrationContext) GetThrottleQuery() string { |
| 745 | mctx.throttleMutex.Lock() |
| 746 | defer mctx.throttleMutex.Unlock() |
| 747 | |
| 748 | var query = mctx.throttleQuery |
| 749 | return query |
| 750 | } |
| 751 | |
| 752 | func (mctx *MigrationContext) SetThrottleQuery(newQuery string) { |
| 753 | mctx.throttleMutex.Lock() |
no outgoing calls
no test coverage detected