Re-implement log size limits

The old queue runner already had this. However, we now store "log
limit exceeded" as a separate status code in the database.
This commit is contained in:
Eelco Dolstra
2015-10-06 17:35:08 +02:00
parent 82504fe010
commit 8e8e31ce86
6 changed files with 25 additions and 8 deletions

View File

@ -195,6 +195,7 @@ create table Builds (
-- 6 = failure with output
-- 7 = timed out
-- 9 = unsupported system type
-- 10 = log limit exceeded
buildStatus integer,
errorMsg text, -- error message in case of a Nix failure
@ -266,6 +267,7 @@ create table BuildSteps (
-- 7 = timed out
-- 8 = cached failure
-- 9 = unsupported system type
-- 10 = log limit exceeded
status integer,
errorMsg text,