Skip to content

Commit 8de0db2

Browse files
author
Joe Bennett
committed
#27345 fixed titles and stripped legacy support
1 parent a2b0a13 commit 8de0db2

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

components/lock.rst

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ support blocking, and expects a TTL to avoid stalled locks::
221221
.. _lock-store-mongodb:
222222

223223
MongoDbStore
224-
~~~~~~~~~~
224+
~~~~~~~~~~~~
225225

226226
The MongoDbStore saves locks on a MongoDB server, it requires a ``\MongoDB\Client`` connection.
227227
This store does not support blocking, and expects a TTL to avoid stalled locks::
@@ -238,16 +238,16 @@ This store does not support blocking, and expects a TTL to avoid stalled locks::
238238

239239
The ``MongoDbStore`` takes the following ``$options``:
240240

241-
============== ========= ============== ===================================================================================
242-
Option Mandatory Default Description
243-
============== ========= ============== ===================================================================================
244-
database Yes The name of the database
245-
collection No ``lock`` The name of the collection
246-
resource_field No ``_id`` The field name for storing the lock id **MUST be uniquely indexed if you chage it**
247-
token_field No ``token`` The field name for storing the lock token
248-
aquired_field No ``aquired_at`` The field name for storing the acquisition timestamp
249-
expiry_field No ``expires_at`` The field name for storing the expiry-timestamp
250-
============== ========= ============== ===================================================================================
241+
=============== =============== ===================================================================================
242+
Option Default Description
243+
=============== =============== ===================================================================================
244+
database The name of the database [Mandatory]
245+
collection ``lock`` The name of the collection
246+
resource_field ``_id`` The field name for storing the lock id **MUST be uniquely indexed if you chage it**
247+
token_field ``token`` The field name for storing the lock token
248+
acquired_field ``acquired_at`` The field name for storing the acquisition timestamp
249+
expiry_field ``expires_at`` The field name for storing the expiry-timestamp
250+
=============== =============== ===================================================================================
251251

252252
.. _lock-store-redis:
253253

@@ -466,7 +466,7 @@ method uses the Memcached's ``flush()`` method which purges and removes everythi
466466
dedicated Memcached service away from Cache.
467467

468468
MongoDbStore
469-
~~~~~~~~~~~~~~
469+
~~~~~~~~~~~~
470470

471471
The MongoDbStore relies on a unique index on the ``<resource_field>``. By default
472472
this is ``_id`` which already has a unique index being the collection identifier.

0 commit comments

Comments
 (0)