Skip to content

Instantly share code, notes, and snippets.

@jamiegs
Last active December 23, 2015 09:39
Show Gist options
  • Save jamiegs/6615746 to your computer and use it in GitHub Desktop.
Save jamiegs/6615746 to your computer and use it in GitHub Desktop.
Disable Mongo Chaining
cfg = rs.config()
cfg.settings = { }
cfg.settings.chainingAllowed = false
rs.reconfig(cfg)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment