Commit 47e8387
committed
mongodb: Add indexes for events
Events are awfully slow even on ordinary request like:
https://staging.kernelci.org:9000/latest/events?kind=job&limit=1000&from=2025-12-11T13:00:00
This index should help with that.
Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>1 parent 643ea98 commit 47e8387
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
204 | 209 | | |
205 | 210 | | |
206 | 211 | | |
| |||
0 commit comments