setParameter

  • setParameter
db.adminCommand( { setParameter: 1, <parameter>: <value> } )

For the available parameters, including examples, see MongoDB Server Parameters.