aboutsummaryrefslogtreecommitdiffhomepage
path: root/.pylintrc-tests
diff options
context:
space:
mode:
authorGravatar Eric Gribkoff <ericgribkoff@google.com>2018-06-25 10:25:28 -0700
committerGravatar Eric Gribkoff <ericgribkoff@google.com>2018-08-22 10:34:54 -0700
commitf8cf7ee56d4150ae870f44298a406f7b2ca038c0 (patch)
tree394c613d5b08d05a9e2f4494bcd59817e538ff10 /.pylintrc-tests
parentf10596f0f3d6ab2dfe67b86d259a8d3effb73a99 (diff)
Support gRPC Python client-side fork with epoll1
A process may fork after invoking grpc_init() and use gRPC in the child if and only if the child process first destroys all gRPC resources inherited from the parent process and invokes grpc_shutdown(). Subsequent to this, the child will be able to re-initialize and use gRPC. After fork, the parent process will be able to continue to use existing gRPC resources such as channels and calls without interference from the child process. To facilitate gRPC Python applications meeting the above constraints, gRPC Python will automatically destroy and shutdown all gRPC Core resources in the child's post-fork handler, including cancelling in-flight calls (see detailed design below). From the client's perspective, the child process is now free to create new channels and use gRPC.
Diffstat (limited to '.pylintrc-tests')
-rw-r--r--.pylintrc-tests2
1 files changed, 2 insertions, 0 deletions
diff --git a/.pylintrc-tests b/.pylintrc-tests
index ebe9d507cd..e68755c674 100644
--- a/.pylintrc-tests
+++ b/.pylintrc-tests
@@ -20,6 +20,8 @@ notes=FIXME,XXX
[MESSAGES CONTROL]
+extension-pkg-whitelist=grpc._cython.cygrpc
+
disable=
# These suppressions are specific to tests:
#