How do I make slaveOk() permanent?

:wave: Hi @MACKENZIE_CLARK, you can add rs.slaveOk() to your .mongorc.js file and that should do what you’re trying to do.

On Linux/Mac the file is in your home directory. I’m not sure where it is on Windows if you use that platform, but a quick search should return it.

4 Likes