-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Since `CallProcessor` just `awaits` the result of the `Task` anyway, the current implementation is actually _slower_. This is because Elixir has to spin up a new process to handle the call, and then receive the output. It's much simpler to just handle the call in the current process, and avoid the overhead of starting a pointless new process.
- Loading branch information
1 parent
0a0ca02
commit 09d4191
Showing
2 changed files
with
2 additions
and
10 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