Commit 23e4ff56 authored by Leigh B Stoller's avatar Leigh B Stoller

Minor tweak to webtask cursize handling.

parent 28614faa
......@@ -1556,6 +1556,9 @@ sub check_progress($$)
$cursize = 0;
}
}
if (defined($webtask)) {
$webtask->imagesize($cursize / 1024);
}
if ($cursize > $maximagesize) {
$result = "toobig";
print "$node_id: image capture has completed: image too big\n";
......@@ -1579,9 +1582,6 @@ sub check_progress($$)
" it has been ". $curtdiff ." minutes.".
" Current image size: $cursize bytes.\n";
}
if (defined($webtask)) {
$webtask->imagesize($cursize / 1024);
}
return 1;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment