Docs HomeMongoDB Manual

sh.waitForBalancerOff()

On this page本页内容

Definition定义

sh.waitForBalancerOff(timeout, interval)

Internal method that waits until the balancer is not running.等待平衡器未运行的内部方法。

Parameter参数Type类型Description描述
timeoutintegerMilliseconds to wait.等待毫秒。
intervalintegerMilliseconds to sleep.还有几毫秒的睡眠时间。