Skip to content

Commit

Permalink
chore(python): create thread_safety doc (#517)
Browse files Browse the repository at this point in the history
  • Loading branch information
busunkim96 authored May 5, 2020
1 parent ea3ae39 commit 09c4846
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.. note::

Because this client uses :mod:`grpcio` library, it is safe to
share instances across threads. In multiprocessing scenarios, the best
practice is to create client instances *after* the invocation of
:func:`os.fork` by :class:`multiprocessing.Pool` or
:class:`multiprocessing.Process`.

0 comments on commit 09c4846

Please sign in to comment.