diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2023-11-30 16:43:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-30 15:43:35 +0000 |
commit | c803c0eaab2b61c77fd187fc5c6f3898c29e8fc4 (patch) | |
tree | cbf1bc398ce1425bc6a4cd7e2b88d3e525513a2b /ext/console/01_console.js | |
parent | 3591ba8578b5eff96c13afc6fdfcf95a96083761 (diff) |
perf(lsp): remove throttling of cancellation token (#21395)
This commit removes "ThrottledCancellationToken" in favor of
"CancellationToken".
Since calling into Rust to check if Tokio's cancellation token has
already been canceled is really cheap, there's no need for us to
throttle this check and let TSC burn up CPU with heavy computation.
Diffstat (limited to 'ext/console/01_console.js')
0 files changed, 0 insertions, 0 deletions