forked fromANT0071/coder
- Notifications
You must be signed in to change notification settings - Fork0
Commit21402c7
authored
perf(coderd/database): optimize GetAPIKeysLastUsedAfter (coder#19725)
This change adds a support-index for `GetAPIKeysLastUsedAfter`.On dogfood (24h): called 4.4k times, 380ms average.Change for tested time range: `170ms` -> `3.3ms`.1 parentfb9753e commit21402c7
File tree
3 files changed
+7
-0
lines changed- coderd/database
- migrations
3 files changed
+7
-0
lines changedSome generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
0 commit comments
Comments
(0)