diff --git a/src/SaveHandler/MongoDB.php b/src/SaveHandler/MongoDB.php index 578e06da..a4910dc0 100644 --- a/src/SaveHandler/MongoDB.php +++ b/src/SaveHandler/MongoDB.php @@ -179,8 +179,10 @@ public function destroy($id) * Garbage collection * * Note: MongoDB 2.2+ supports TTL collections, which may be used in place - * of this method by indexing with "modified" field with an - * "expireAfterSeconds" option. + * of this method by indexing the "modified" field with an + * "expireAfterSeconds" option. Regardless of whether TTL collections are + * used, consider indexing this field to make the remove query more + * efficient. * * @see http://docs.mongodb.org/manual/tutorial/expire-data/ * @param int $maxlifetime