Skip to content
  • ThibG's avatar
    1a22eff1
    Attempt fixing deadlocks by moving account stats update outside transaction (#9437) · 1a22eff1
    ThibG a rédigé
    * 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
    1a22eff1
    Attempt fixing deadlocks by moving account stats update outside transaction (#9437)
    ThibG a rédigé
    * 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
Chargement en cours