Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MiqEventDefinitionSet is static union. It is dumb to use 13 selects on every start-up (during the db lock) to ensure that the union is in place. On my system, the `10_000.times { MiqEventDefinitionSet.seed }` gives: :kiss: | rows | selects | time | % -------| ------ | ------- | ---- | ---- Before | 130000 | 130000 | 123s | 100% After | 130000 | 10000 | 34s | 27%
- Loading branch information