Skip to content

Commit da1382e

Browse files
author
Joe Bennett
committed
#27345 improved note about collection option to MongoDbStore, updated usage of must
1 parent 679a77e commit da1382e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/lock.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ MongoDB Connection String:
327327
.. note::
328328

329329
The ``collection`` querystring parameter is not part of the `MongoDB Connection String`_ definition.
330-
It is simply used to allow constructing a ``MongoDbStore`` using a `Data Source Name (DSN)`_ without ``$options``.
330+
It is used to allow constructing a ``MongoDbStore`` using a `Data Source Name (DSN)`_ without ``$options``.
331331

332332
.. _lock-store-pdo:
333333

@@ -617,7 +617,7 @@ MongoDbStore
617617
collection. Beware that in MongoDB an indexed field's value can be
618618
`a maximum of 1024 bytes in length`_ inclusive of structural overhead.
619619

620-
A TTL index MUST BE used to automatically clean up expired locks.
620+
A TTL index must be used to automatically clean up expired locks.
621621
Such an index can be created manually:
622622

623623
.. code-block:: javascript

0 commit comments

Comments
 (0)