Skip to content

Commit

Permalink
[Asyncio] Semantic task names for RPC tasks (#36422)
Browse files Browse the repository at this point in the history
Formatted the task name after handling

Close: #35829

Closes #36422

COPYBARA_INTEGRATE_REVIEW=#36422 from rushaan105gandhi:new-contribution 8212027
PiperOrigin-RevId: 630115057
  • Loading branch information
rushaan105gandhi authored and Copybara-Service committed May 2, 2024
1 parent f45ac2c commit 6d527a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python/grpcio/grpc/_cython/_cygrpc/aio/server.pyx.pxi
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,7 @@ async def _schedule_rpc_coro(object rpc_coro,
rpc_state,
rpc_coro,
loop,
))
), name="HandleExceptions[%s]" % _decode(rpc_state.method()))
_add_callback_handler(rpc_task, rpc_state)
await _handle_cancellation_from_core(rpc_task, rpc_state, loop)

Expand Down

0 comments on commit 6d527a6

Please sign in to comment.