-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
addon: Use a dedicated thread per client
Removes the reuse of the uv threadpool in the old tdjson interface. This also lifts the limitation of max UV_THREADPOOL_SIZE clients. The timeout argument is moved from the receive binding to createClient. bun seems to work after the removal of Napi::AsyncWorker, though the stability might not be top notch. "Other JavaScript runtimes" section is added to the README.
- Loading branch information
Showing
5 changed files
with
276 additions
and
289 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
Oops, something went wrong.