File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Original file line number Diff line number Diff line change @@ -276,7 +276,7 @@ MongoDbStore
276
276
277
277
The ``MongoDbStore `` was introduced in Symfony 4.4.
278
278
279
- The MongoDbStore saves locks on a MongoDB server, it requires a
279
+ The MongoDbStore saves locks on a MongoDB server `` ^2.2 `` , it requires a
280
280
``\MongoDB\Client `` connection from `mongodb/mongodb `_. This store does not
281
281
support blocking and expects a TTL to avoid stalled locks::
282
282
@@ -589,7 +589,7 @@ MongoDbStore
589
589
collection. Beware that in MongoDB an indexed field's value can be
590
590
`a maximum of 1024 bytes in length `_ inclusive of structural overhead.
591
591
592
- A TTL index MUST BE used on MongoDB 2.2+ to automatically clean up expired locks.
592
+ A TTL index MUST BE used to automatically clean up expired locks.
593
593
Such an index can be created manually:
594
594
595
595
.. code-block :: javascript
@@ -605,8 +605,8 @@ about `Expire Data from Collections by Setting TTL`_ in MongoDB.
605
605
606
606
.. tip ::
607
607
608
- ``MongoDbStore `` will attempt to automatically create a TTL index on MongoDB
609
- 2.2+. It's recommended to set constructor option ``gcProbablity = 0.0 `` to
608
+ ``MongoDbStore `` will attempt to automatically create a TTL index.
609
+ It's recommended to set constructor option ``gcProbablity = 0.0 `` to
610
610
disable this behavior if you have manually dealt with TTL index creation.
611
611
612
612
.. caution ::
You can’t perform that action at this time.
0 commit comments