Set max peers.