[
https://issues.apache.org/jira/browse/ARROW-4687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16779303#comment-16779303
]
David Li commented on ARROW-4687:
---------------------------------
I think I mentioned this on the mailing list - the APIs don't make this
possible as starting the Flight server in C++ also blocks until the server
shuts down. The simple thing is to separate the two operations as Java does.
(I'd rather do that over having Python implicitly spawn a thread to run the
server for you.)
> [Python] FlightServerBase.run should exit on Ctrl-C
> ---------------------------------------------------
>
> Key: ARROW-4687
> URL: https://issues.apache.org/jira/browse/ARROW-4687
> Project: Apache Arrow
> Issue Type: Bug
> Components: FlightRPC, Python
> Reporter: Antoine Pitrou
> Assignee: Antoine Pitrou
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Currently, the Python Flight server does run react at all to Ctrl-C (aka
> SIGINT). It should probably return from the `run()` method after having
> executed Python signal handlers.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)