Skip to content
Snippets Groups Projects
Commit 1a22eff1 authored by ThibG's avatar ThibG Committed by Eugen Rochko
Browse files

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
parent 9897cf07
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment