Skip to content

Commit

Permalink
Close the pipe between pzstd and tar
Browse files Browse the repository at this point in the history
Otherwise sockets get left open and it will die once it hits the 1024
limit.
  • Loading branch information
MasterDuke17 committed May 14, 2017
1 parent 39cde1e commit c63ed89
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Benchable.p6
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ multi method benchmark-code($full-commit-hash, @code) {
}
my $proc = run :out, :bin, pzstd, -dqc, --, {ARCHIVES-LOCATION}/rakudo-moar/$full-commit-hash.zst;
run :in($proc.out), :bin, tar, x, --absolute-names;
$proc.out.close;
my $timing;
if {BUILDS-LOCATION}/rakudo-moar/$full-commit-hash/bin/perl6.IO !~~ :e {
return Commit exists, but a perl6 executable could not be built for it
Expand Down

0 comments on commit c63ed89

Please sign in to comment.