rok commented on a change in pull request #12344:
URL: https://github.com/apache/arrow/pull/12344#discussion_r800652247
##########
File path: cpp/src/arrow/flight/server.h
##########
@@ -200,10 +201,11 @@ class ARROW_FLIGHT_EXPORT FlightServerBase {
int GotSignal() const;
/// \brief Shut down the server. Can be called from signal handler or another
- /// thread while Serve() blocks.
+ /// thread while Serve() blocks. Optionally a deadline can be set. Once the
+ /// the deadline expires all pending calls associated with the server will be
+ /// forcefully canceled.
Review comment:
```suggestion
/// thread while Serve() blocks. Optionally a deadline can be set. Once the
/// the deadline expires server will switch to shutdown mode. All pending
/// async calls associated with the server will be forcefully canceled.
/// Remaining running sync calls will block until complete.
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]