()
| 779 | } |
| 780 | |
| 781 | func (mctx *MigrationContext) GetMaxLoad() LoadMap { |
| 782 | mctx.throttleMutex.Lock() |
| 783 | defer mctx.throttleMutex.Unlock() |
| 784 | |
| 785 | return mctx.maxLoad.Duplicate() |
| 786 | } |
| 787 | |
| 788 | func (mctx *MigrationContext) GetCriticalLoad() LoadMap { |
| 789 | mctx.throttleMutex.Lock() |
no test coverage detected