blob: 1cb29d4ca9677e381ed3308942c327101029e490 (
plain)
1
2
3
4
5
6
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`.
|