Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit da1382e

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

File tree

1 file changed

+2
-2
lines changed
Filter options

1 file changed

+2
-2
lines changed

‎components/lock.rst

Copy file name to clipboardExpand all lines: components/lock.rst
+2-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.