summaryrefslogtreecommitdiffstats
path: root/view_job_queue.cgi
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2014-11-04 07:53:12 +0100
committerByron Jones <glob@mozilla.com>2014-11-04 07:53:12 +0100
commit7fdcd8ef2760a536190c44e1318e4342d27ec619 (patch)
treec340a019a23d6072aa47b2eceff5c503c7d6a86f /view_job_queue.cgi
parent32e6ac30461863f4fc89a050455794436affa2a3 (diff)
downloadbugzilla-7fdcd8ef2760a536190c44e1318e4342d27ec619.tar.gz
bugzilla-7fdcd8ef2760a536190c44e1318e4342d27ec619.tar.xz
Bug 1092037: backport bug 1062739 to bmo (add the ability for administrators to limit the number of emails sent to a user per minute and hour)
Diffstat (limited to 'view_job_queue.cgi')
-rwxr-xr-xview_job_queue.cgi1
1 files changed, 1 insertions, 0 deletions
diff --git a/view_job_queue.cgi b/view_job_queue.cgi
index 7accc512d..5ebe1e7a5 100755
--- a/view_job_queue.cgi
+++ b/view_job_queue.cgi
@@ -45,6 +45,7 @@ sub generate_report {
j.run_after AS run_time,
j.grabbed_until,
f.funcname AS func,
+ (SELECT COUNT(*) FROM ts_error WHERE e.jobid = j.jobid) AS error_count,
e.jobid AS error_count,
e.error_time AS error_time,
e.message AS error_message