This is an automated email from the git hooks/post-receive script.
thrnciar pushed a commit to branch stats-page-limit
in repository copr/copr.
commit d536a298994f6049e19493a79c392385c3ffe729
Author: Tomas Hrnciar <thrnciar(a)reedhat.com>
AuthorDate: Tue Aug 13 14:58:14 2019 +0200
frontend: removed records limit for running/pending/importing stats pages
fixes #893
---
frontend/coprs_frontend/coprs/views/status_ns/status_general.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/frontend/coprs_frontend/coprs/views/status_ns/status_general.py
b/frontend/coprs_frontend/coprs/views/status_ns/status_general.py
index 3179bc6..16a039e 100644
--- a/frontend/coprs_frontend/coprs/views/status_ns/status_general.py
+++ b/frontend/coprs_frontend/coprs/views/status_ns/status_general.py
@@ -15,20 +15,20 @@ def inject_common_blueprint_variables():
@status_ns.route("/")
@status_ns.route("/pending/")
def pending():
- tasks =
builds_logic.BuildsLogic.get_pending_build_tasks(background=False).limit(300).all()
+ tasks = builds_logic.BuildsLogic.get_pending_build_tasks(background=False).all()
bg_tasks_cnt =
builds_logic.BuildsLogic.get_pending_build_tasks(background=True).count()
return render_status("pending", tasks=tasks, bg_tasks_cnt=bg_tasks_cnt)
@status_ns.route("/running/")
def running():
- tasks =
builds_logic.BuildsLogic.get_build_tasks(StatusEnum("running")).limit(300).all()
+ tasks =
builds_logic.BuildsLogic.get_build_tasks(StatusEnum("running")).all()
return render_status("running", tasks=tasks)
@status_ns.route("/importing/")
def importing():
- tasks =
builds_logic.BuildsLogic.get_build_importing_queue(background=False).limit(300).all()
+ tasks = builds_logic.BuildsLogic.get_build_importing_queue(background=False).all()
bg_tasks_cnt =
builds_logic.BuildsLogic.get_build_importing_queue(background=True).count()
return render_status("importing", tasks=tasks, bg_tasks_cnt=bg_tasks_cnt)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.