Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We avoid reading in the entire file by just reading the first byte. Also, this reduces the amount of waiting between polls, so small test runs complete noticeably faster. As a side effect of streaming the file, we have to prevent the use of toil caching. (readGlobalFileStream doesn't have a cache=False option.)
- Loading branch information
1 parent
26fcc44
commit 08694b3
Showing
2 changed files
with
11 additions
and
6 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