diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2023-10-26 10:58:58 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2023-10-26 09:22:14 +0000 |
| commit | 060b74e530c5748381308dacf97c88238261cdc7 (patch) | |
| tree | 66402b03aa3f910bb8c5615c60e853f6bc1a8cae /pkg/vcs/testdata/linux | |
| parent | 72e794c46fcfe059006cd6efdf2f6f315a71ff56 (diff) | |
dashboard/app: optimize pollCompletedJobs()
We currently query all finished non-reported Jobs every
reporting_poll_bugs request.
That's very slow and inefficient -- there are more than 50k of such
jobs.
In reality, we are never interested in reporting old jobs, so let's only
query jobs finished within last month. That's only a few thousands jobs.
Diffstat (limited to 'pkg/vcs/testdata/linux')
0 files changed, 0 insertions, 0 deletions
