[obs-commits] [openSUSE/open-build-service] 5893f7: Improve efficiency of User model queries using plu...
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 5893f7bc005eea8b42a209c8658bd7d6c37d9279 https://github.com/openSUSE/open-build-service/commit/5893f7bc005eea8b42a209... Author: Ana María Martínez Gómez <ammartinez@suse.de> Date: 2018-11-28 (Wed, 28 Nov 2018) Changed paths: M src/api/app/models/user.rb Log Message: ----------- Improve efficiency of User model queries using pluck Plucking the ids generate an extra query with the ids and there could potentially be a lot of ids. This make this query way less efficient. Commit: 1bdb8866923a4674d505efe1eff5c00f333a68bf https://github.com/openSUSE/open-build-service/commit/1bdb8866923a4674d505ef... Author: Christian Bruckmayer <cbruckmayer@suse.com> Date: 2018-11-29 (Thu, 29 Nov 2018) Changed paths: M src/api/app/models/user.rb Log Message: ----------- Merge pull request #6389 from Ana06/user_pluck Improve User model efficiency Compare: https://github.com/openSUSE/open-build-service/compare/fa30255d8933...1bdb88... **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019.
participants (1)
-
Christian Bruckmayer