Logo
Explore Privacy Policy Terms of Service Help
Sign In
ahuston-0/hydra
1
0
Fork 0
You've already forked hydra
Code Issues Pull Requests1 Packages Projects Releases Wiki Activity
140cbe9302
BranchesTags
View all branches
hydra/src/sql/upgrade-4.sql

2 lines
96 B
MySQL
Raw Normal View History

Evaluator cleanups * Don't use isCurrent anymore; instead look up builds in the previous jobset evaluation. (The isCurrent field is still maintained because it's still used in some other places.) * To determine whether to perform an evaluation, compare the hash of the current inputs with the inputs of the previous jobset evaluation, rather than checking if there was ever an evaluation with those inputs. This way, if the inputs of an evaluation change back to a previous state, we get a new jobset evaluation in the database (and thus the latest jobset evaluation correctly represents the latest state of the jobset). * Improve performance by removing some unnecessary operations and adding an index.
2012-03-07 18:48:10 +01:00
create index IndexJobsetEvalsOnJobsetId on JobsetEvals(project, jobset, hasNewBuilds, id desc);
Reference in New Issue Copy Permalink
Powered by Gitea Page: 50ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API