laravel-mongodb
laravel-mongodb copied to clipboard
add driver mongodb job batching
hello please check my code and merge it.
db info
Build Info: {
"version": "4.4.18",
"gitVersion": "8ed32b5c2c68ebe7f8ae2ebe8d23f36037a17dea",
"openSSLVersion": "OpenSSL 1.1.1 11 Sep 2018",
"modules": [],
"allocator": "tcmalloc",
"environment": {
"distmod": "ubuntu1804",
"distarch": "x86_64",
"target_arch": "x86_64"
}
}
I edit config file and add in the config file. in the path /etc/mongod.conf
replication:
replSetName: rs0
then
systemctl restart mongod
then in the mongodb console run this
rs.initiate()
And to see the changes that happened in the config mongodb run this
rs.status()