Skip to content

Commit

Permalink
[backend] kiwitree: reset timeout after receiving a file
Browse files Browse the repository at this point in the history
  • Loading branch information
mlschroe committed Aug 4, 2020
1 parent 08a8f09 commit 907d54b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/backend/bs_repserver
Original file line number Diff line number Diff line change
Expand Up @@ -2126,6 +2126,7 @@ sub receivekiwitree {
'timeout' => 600,
'acceptsubdirs' => 1,
'accept' => sub {$todo{$_[1]}},
'cpiopostfile' => sub {alarm(600)},
'receiver' => \&BSHTTP::cpio_receiver,
};
my $res = BSRPC::rpc($param, undef, map {"file=$_"} sort keys %todo);
Expand Down

0 comments on commit 907d54b

Please sign in to comment.