Fix initialization of interrupt check period (#31550)

pull/31562/head
Richard Belleville 2 years ago committed by GitHub
parent 401c751cb4
commit b8c2818c6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/python/grpcio/grpc/_cython/_cygrpc/completion_queue.pxd.pxi
  2. 2
      src/python/grpcio/grpc/_cython/_cygrpc/completion_queue.pyx.pxi

@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
cdef int g_interrupt_check_period_ms = 200
cdef int g_interrupt_check_period_ms
cdef grpc_event _next(grpc_completion_queue *c_completion_queue, deadline) except *

@ -13,6 +13,8 @@
# limitations under the License.
g_interrupt_check_period_ms = 200
cdef grpc_event _next(grpc_completion_queue *c_completion_queue, deadline) except *:
global g_interrupt_check_period_ms
cdef gpr_timespec c_increment

Loading…
Cancel
Save