action #61919
Updated by tinita over 4 years ago
https://github.com/os-autoinst/openQA/blob/master/lib/OpenQA/WebAPI.pm#L87 $self->hook( before_dispatch => sub { my ($controller) = @_; OpenQA::Setup::set_secure_flag_on_cookies($controller); $controller->stash('job_groups_and_parents', job_groups_and_parents); }); The function makes two to DB queries. That means there are many unnecessary DB queries on some pages. I can see the call 5 times on the "All Tests" page and two times on the test overview. We should find out in that call if we deliver a HTML page or something else and only do that call for HTML.