Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: 76fd4570378234c7745a9a2b367f32bf3313f7b8
https://github.com/openSUSE/open-build-service/commit/76fd4570378234c7745a9a...
Author: Evan Rolfe
Date: 2018-02-07 (Wed, 07 Feb 2018)
Changed paths:
M src/api/app/models/package.rb
Log Message:
-----------
[api] Make Package#activity use ruby instead of SQL.
We are getting some deadlock errors when updating packages
and it seems that its because when you update the package it
also makes a second mysql query to calculate the activity
value so this commit fixes that by doing the calculation in
ruby.
Commit: 06296f6cc4565d90b9f6229cec1cce88d6d47448
https://github.com/openSUSE/open-build-service/commit/06296f6cc4565d90b9f622...
Author: Evan Rolfe
Date: 2018-02-08 (Thu, 08 Feb 2018)
Changed paths:
M src/api/app/models/package.rb
Log Message:
-----------
Merge pull request #4452 from evanrolfe/fix/package_activity
[api] Make Package#activity use ruby instead of SQL.
Compare: https://github.com/openSUSE/open-build-service/compare/778b6670dad4...06296f...