From 20ab3efac548f9e04cd5ddc51cb656cbbd20b72e Mon Sep 17 00:00:00 2001 From: Mark Rousskov Date: Thu, 19 Mar 2020 09:46:32 -0400 Subject: [PATCH] Shift success rows in queue to bottom Generally these are try builds which have concluded; ideally we wouldn't show them at all (there's really no reason for them to be in the queue) but that's a harder change. On the rust-lang/rust queue these typically take up the first 1.5 pages of queue -- which is wasteful, as there's not really interesting information to be gleaned from them. This moves that list to the bottom of the page. --- homu/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homu/main.py b/homu/main.py index 0dce72e..b1dc63b 100644 --- a/homu/main.py +++ b/homu/main.py @@ -27,12 +27,12 @@ import weakref STATUS_TO_PRIORITY = { - 'success': 0, 'pending': 1, 'approved': 2, '': 3, 'error': 4, 'failure': 5, + 'success': 6, } INTERRUPTED_BY_HOMU_FMT = 'Interrupted by Homu ({})'