forked from facebook/hhvm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: I'm working to support IDE cancellation. The plan is that 1. while ClientIdeDaemon is busy in CPU-bound decling or typechecking work 2. while ClientLsp is awaiting a response from ClientIdeDaemon 3. ClientLsp must be able to see a VSCode cancellation request arrive over stdin, and respond by setting a shmem bit 4. ClientIdeDaemon must frequently poll that shmem bit and, if set, then terminate This diff achieves part (3). The changes in behavior are all under a JK, `lsp_cancellation`. Once rolled out to 50%, this is how I'll measure impact: * autocomplete - https://fburl.com/scuba/hh_server_events/uk3sk49a * squiggles - https://fburl.com/scuba/hh_server_events/f4chhv01 Differential Revision: D51521765 fbshipit-source-id: 4e33bc55b99b9de34e76f415625249afddbb3873
- Loading branch information
1 parent
c3f63c7
commit 512bf66
Showing
4 changed files
with
194 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters