-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(task): look up runs more efficiently
This switches run status from a tag to a field. This is likely a breaking change to existing task logs. Using a one-off local query, for 250 records, the previous approach took around 10 seconds and the new approach is about 30 milliseconds. At 1000 records, the previous approach was roughly 110 seconds and the new approach is around 70 milliseconds.
- Loading branch information
1 parent
a5154cf
commit f93ecaa
Showing
2 changed files
with
35 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters