Skip to content

Commit 79fee70

Browse files
author
Joe Bennett
committed
#37180 improved skimUri documentation
1 parent a5770aa commit 79fee70

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Symfony/Component/Lock/Store/MongoDbStore.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,11 @@ public function __construct($mongo, array $options = [], float $initialTtl = 300
130130
}
131131

132132
/**
133-
* Extract default database and collection from given connection uri and remove collection querystring.
133+
* Extract default database and collection from given connection URI and remove collection querystring.
134+
*
135+
* Non-standard parameters are removed from the URI to improve libmongoc's re-use of connections.
136+
*
137+
* @see https://www.php.net/manual/en/mongodb.connection-handling.php
134138
*/
135139
private function skimUri(string $uri): string
136140
{

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy