mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-20 13:52:40 +01:00
Fix content being missed in the build logs
Summary: This fixes an issue where content would be discarded when the content to append is larger than the chunk size limit. Test Plan: Tested running a remote command that does `I=0; while true; do echo "$I"; I=$[$I+1]; done` and all of the outputted numbers matched the line numbers in the logs. Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley CC: Korvin, epriestley, aran Differential Revision: https://secure.phabricator.com/D7537
This commit is contained in:
parent
f357e159b1
commit
8f52778f32
1 changed files with 1 additions and 0 deletions
|
@ -95,6 +95,7 @@ final class HarbormasterBuildLog extends HarbormasterDAO
|
|||
$current = substr($current, self::CHUNK_BYTE_LIMIT);
|
||||
$this->append($part);
|
||||
}
|
||||
$this->append($current);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue