Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: 42fb7c280a5e0e6cd89a3a13db308fd263826940
https://github.com/openSUSE/open-build-service/commit/42fb7c280a5e0e6cd89a3a...
Author: Ana María Martínez Gómez
Date: 2016-11-03 (Thu, 03 Nov 2016)
Changed paths:
M src/api/app/models/user.rb
Log Message:
-----------
[api] Get rid of the nobody user thread caching
We are catching the nobody user in the User#find_nobody method and it is
only used here. It is confusing and the Rails query cache will cache
this too, so we will only do one more query per thread.
Also, the https://github.com/openSUSE/open-build-service/pull/2247 PR is
failing because of this way of caching users and how the database is
cleaned, and it was difficult to get to know what the error was.
Commit: 1815eebbd9337d7091b4dd860bcf109d16e3d8ba
https://github.com/openSUSE/open-build-service/commit/1815eebbd9337d7091b4dd...
Author: Björn Geuken
Date: 2016-11-04 (Fri, 04 Nov 2016)
Changed paths:
M src/api/app/models/user.rb
Log Message:
-----------
Merge pull request #2294 from Ana06/nobody-cache
[api] Get rid of the nobody user thread caching
Compare: https://github.com/openSUSE/open-build-service/compare/06ff90c18128...1815ee...