1
0
Fork 1
forked from fedi/mastodon
mastodon/app
ThibG 1a22eff1e0 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
2018-12-05 22:51:12 +01:00
..
chewy Get rid of Chewy order/limit warning (#8355) 2018-08-22 02:44:56 +02:00
controllers Fix thread depth computation in statuses_controller (#9426) 2018-12-05 02:12:29 +01:00
helpers Redesign admin accounts index (#9340) 2018-11-26 15:53:27 +01:00
javascript Add visible dates for notifications in Notification column (#9423) 2018-12-05 05:08:43 +01:00
lib Fix TLS handshake timeout not being enforced (#9381) 2018-11-27 19:46:05 +01:00
mailers Fix low-hanging rubocop gripes (#8458) 2018-08-26 19:22:46 +02:00
models Attempt fixing deadlocks by moving account stats update outside transaction (#9437) 2018-12-05 22:51:12 +01:00
policies Improve support for aspects/circles (#8950) 2018-10-17 17:13:04 +02:00
presenters Don't count suspended users in user count (#9380) 2018-11-27 18:49:37 +01:00
serializers Fix filter ID not being a string in REST API (#9303) 2018-11-19 10:37:57 +01:00
services Improve account suspension speed and completeness (#9290) 2018-12-03 01:32:08 +01:00
validators Fix follow limit validator reporting lower number past threshold (#9230) 2018-11-08 21:06:01 +01:00
views Swap avatar and header input fields in profile page (#9271) 2018-11-29 02:56:09 +01:00
workers Improve account suspension speed and completeness (#9290) 2018-12-03 01:32:08 +01:00