Skip to content

Commit 2823e26

Browse files
authored
Fix few README text issues (#221)
1 parent f7c3f7d commit 2823e26

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -715,7 +715,7 @@ You need roughly three additional configuration steps:
715715
* Authenticate with an x.509 Certificate
716716

717717
To get the x.509 authentication working you need to prepare the ssl configuration accordingly:
718-
* you need set the ssl option: `verify_peer`
718+
* you need to set the ssl option: `verify_peer`
719719
* you need to specify the `cacertfile` because Erlang BEAM don't provide any CA certificate store by default
720720
* you maybe need to customize the hostname check to allow wildcard certificates
721721
* you need to specify the `username` from the subject entry of the user certificate
@@ -903,7 +903,7 @@ result = Mongo.BulkWrite.write(:mongo, bulk, w: 1)
903903
In the following example we import 1.000.000 integers into the MongoDB using the stream api:
904904

905905
We need to create an insert operation for each number. Then we call the `Mongo.UnorderedBulk.stream`
906-
function to import it. This function returns a stream function which accumulate
906+
function to import it. This function returns a stream function that accumulates
907907
all inserts operations until the limit `1000` is reached. In this case the operation group is send to
908908
MongoDB. So using the stream api you can reduce the memory using while
909909
importing big volume of data.
@@ -1022,7 +1022,7 @@ That means, you can just generate a `raise :should_not_happen` exception as well
10221022

10231023
## Command Monitoring
10241024

1025-
You can watch all events that are triggered while the driver send requests and processes responses. You can use the
1025+
You can watch all events that are triggered while the driver sends requests and processes responses. You can use the
10261026
`Mongo.EventHandler` as a starting point. It logs the events from the topic `:commands` (by ignoring the `:isMaster` command)
10271027
to `Logger.info`:
10281028

@@ -1037,7 +1037,7 @@ iex> {:ok, conn} = Mongo.start_link(url: "mongodb://localhost:27017/test")
10371037

10381038
## Testing
10391039

1040-
Latest MongoDB is used while running the tests. Replica set of three nodes is created and runs all test except the socket and ssl test. If you want to
1040+
Latest MongoDB is used while running the tests. Replica set of three nodes is created and runs all tests, except the socket and ssl test. If you want to
10411041
run the test cases against other MongoDB deployments or older versions, you can use the [mtools](https://github.com/rueckstiess/mtools) for deployment and run the test cases locally:
10421042

10431043
```bash

0 commit comments

Comments
 (0)