@@ -223,7 +223,8 @@ support blocking, and expects a TTL to avoid stalled locks::
223223MongoDbStore
224224~~~~~~~~~~~~
225225
226- The MongoDbStore saves locks on a MongoDB server, it requires a ``\MongoDB\Client `` connection.
226+ The MongoDbStore saves locks on a MongoDB server, it requires a ``\MongoDB\Client ``
227+ connection from `mongodb/mongodb `_.
227228This store does not support blocking, and expects a TTL to avoid stalled locks::
228229
229230 use Symfony\Component\Lock\Store\MongoDbStore;
@@ -473,10 +474,8 @@ this is ``_id`` which already has a unique index being the collection identifier
473474It is strongly recommended to leave this as is. If you do need to change the
474475``<resource_field> `` you **MUST ** ensure you place a unique index on your filed.
475476
476- It's possible to automatically expire the locks in the database as described below:
477-
478- A TTL index can be used on MongoDB 2.2+ to cleanup expired locks
479- automatically. Such an index can for example look like this:
477+ A TTL index can be used on MongoDB 2.2+ to cleanup expired locks automatically.
478+ Such an index can for example look like this:
480479
481480.. code-block :: javascript
482481
@@ -560,3 +559,4 @@ are still running.
560559.. _`locks` : https://en.wikipedia.org/wiki/Lock_(computer_science)
561560.. _Packagist : https://packagist.org/packages/symfony/lock
562561.. _`PHP semaphore functions` : http://php.net/manual/en/book.sem.php
562+ .. _`mongodb/mongodb` : https://packagist.org/packages/mongodb/mongodb
0 commit comments