Skip to content

Commit 92a2c94

Browse files
committed
PYTHON-5155 Fix FAQ link for fork safety (mongodb#2156)
(cherry picked from commit 0ac56a3)
1 parent 315f3cd commit 92a2c94

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

doc/changelog.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ Issues Resolved
208208
See the `PyMongo 4.9 release notes in JIRA`_ for the list of resolved issues
209209
in this release.
210210

211-
.. _Is PyMongo Fork-Safe : https://www.mongodb.com/docs/languages/python/pymongo-driver/current/faq/#is-pymongo-fork-safe-
211+
.. _Is PyMongo Fork-Safe: https://www.mongodb.com/docs/languages/python/pymongo-driver/current/troubleshooting/#forking-a-process-causes-a-deadlock
212212
.. _PyMongo 4.9 release notes in JIRA: https://jira.mongodb.org/secure/ReleaseNote.jspa?projectId=10004&version=39940
213213

214214

pymongo/asynchronous/topology.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -232,9 +232,7 @@ async def open(self) -> None:
232232
warnings.warn( # type: ignore[call-overload] # noqa: B028
233233
"AsyncMongoClient opened before fork. May not be entirely fork-safe, "
234234
"proceed with caution. See PyMongo's documentation for details: "
235-
"https://www.mongodb.com/docs/languages/"
236-
"python/pymongo-driver/current/faq/"
237-
"#is-pymongo-fork-safe-",
235+
"https://www.mongodb.com/docs/languages/python/pymongo-driver/current/troubleshooting/#forking-a-process-causes-a-deadlock",
238236
**kwargs,
239237
)
240238
async with self._lock:

pymongo/synchronous/topology.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -232,9 +232,7 @@ def open(self) -> None:
232232
warnings.warn( # type: ignore[call-overload] # noqa: B028
233233
"MongoClient opened before fork. May not be entirely fork-safe, "
234234
"proceed with caution. See PyMongo's documentation for details: "
235-
"https://www.mongodb.com/docs/languages/"
236-
"python/pymongo-driver/current/faq/"
237-
"#is-pymongo-fork-safe-",
235+
"https://www.mongodb.com/docs/languages/python/pymongo-driver/current/troubleshooting/#forking-a-process-causes-a-deadlock",
238236
**kwargs,
239237
)
240238
with self._lock:

0 commit comments

Comments
 (0)