-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(libssh2-runner): fix slow stderr read when no stdout
In case there's only stderr stream and no data on stdout, stderr stream processing waits for stdout processing timeout (0.5s by default). This causes long processing of many stderr lines as this delay happens for each line. Fix by verifying first if given stream has data and proceed to next if not. refs: scylladb/java-driver#258
- Loading branch information
Showing
1 changed file
with
16 additions
and
11 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