Skip to content

Commit 0ac56a3

Browse files
authored
PYTHON-5155 Fix FAQ link for fork safety (mongodb#2156)
1 parent f27e8e1 commit 0ac56a3

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

Diff for: doc/changelog.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ Issues Resolved
189189
See the `PyMongo 4.9 release notes in JIRA`_ for the list of resolved issues
190190
in this release.
191191

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

195195

Diff for: pymongo/asynchronous/topology.py

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

Diff for: pymongo/synchronous/topology.py

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

0 commit comments

Comments
 (0)