Skip to content

Commit

Permalink
increase push file limit from 5*8*1024 to 8*8*1024
Browse files Browse the repository at this point in the history
  • Loading branch information
donald committed Jun 21, 2016
1 parent d0ea3e5 commit 4f46568
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clusterd
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ sub push_file {
my $st=Donald::FileInfo->lstat($filename);
defined $st or return warn "$filename: $!\n";
$st->type eq 'F' or die "$filename: not a plain file\n";
$st->size<=40960 or die "$filename: to big for broadcast (max 40960 bytes)\n";
$st->size<=65536 or die "$filename: to big for broadcast (max 65536 bytes)\n";

my $fh=new IO::File $filename,'<' or return warn "$filename: $!\n";
my $i=0;
Expand Down

0 comments on commit 4f46568

Please sign in to comment.