Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: 838a3f6fc18a1d67935d735cb2019e82ad386b09
https://github.com/openSUSE/open-build-service/commit/838a3f6fc18a1d67935d73...
Author: Lukas Krause
Date: 2022-11-02 (Wed, 02 Nov 2022)
Changed paths:
M src/api/app/models/event_subscription/find_for_event.rb
Log Message:
-----------
Skip iteration in `FindForEvent#subscriptions` when there are no receivers for the role
There is no reason to proceed in the method when there are no
receivers for the event for the given role. We can skip and continue
with the next receiver_role.
Commit: 839b0d9ba45614146ce4c4f9337e90a2f9777846
https://github.com/openSUSE/open-build-service/commit/839b0d9ba45614146ce4c4...
Author: Dany Marcoux
Date: 2022-11-03 (Thu, 03 Nov 2022)
Changed paths:
M src/api/app/models/event_subscription/find_for_event.rb
Log Message:
-----------
Merge pull request #13304 from krauselukas/refactor/return_early_find_for_event
Skip iteration in `FindForEvent#subscriptions` when there are no receivers for the role
Compare: https://github.com/openSUSE/open-build-service/compare/8f34a7f1d6e4...839b0d...