diff options
author | ThibG <thib@sitedethib.com> | 2018-12-05 22:51:12 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2018-12-05 22:51:12 +0100 |
commit | 1a22eff1e00194e50751f2ea91ec7326ef15b4fc (patch) | |
tree | 0949bc99fbb64ab687f1e1e008ea81338757d0e2 /app/models/invite.rb | |
parent | 9897cf0701d1fb588f9b0defcbd78d0a2095230a (diff) |
Attempt fixing deadlocks by moving account stats update outside transaction (#9437)
* Use `update_column` instead of `update_attribute` in callback `update_attribute` would normally cause callbacks to be called. Called from a callback, it seems to stop further callbacks from executing. `update_column` does the same work, but without calling callbacks or preventing other callbacks from executing. * Fix deadlocks by moving account stats update outside transaction
Diffstat (limited to 'app/models/invite.rb')
0 files changed, 0 insertions, 0 deletions