Navigation
This version of the manual is no longer supported.

sh.waitForPingChange()

sh.waitForPingChange(activepings, timeout, interval)
Parameters:
  • activepings (array) – An array of active pings from the config.mongos collection.
  • timeout (integer) – Milliseconds to wait for a change in ping state.
  • interval (integer) – Milliseconds to sleep in each waiting cycle.

sh.waitForPingChange() waits for a change in ping state of the one of the activepings.