10000 #37180 improved skimUri documentation · symfony/symfony@79fee70 · GitHub
[go: up one dir, main page]

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)
0