about summary refs log tree commit diff
path: root/spec/models/conversation_spec.rb
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-05-31 17:09:09 +0200
committerGitHub <noreply@github.com>2018-05-31 17:09:09 +0200
commit19b4c666f7f760986be4215ea874f951c617a0df (patch)
treeaf189dd6f1479f359d7d2a92947f4a6e60a91286 /spec/models/conversation_spec.rb
parent1e938b966e7dd6ec329567be7c285779b6d11599 (diff)
Improve account index migration (#7684)
* Improve account index migration

- Display more progress in stdout
- Catch PG::UniqueViolation when re-attributing favourites
- Skip callbacks and validations when re-attributing other relationships

* Use in_batches to reduce table lock-up during account merge

* Use #say_with_time to benchmark each deduplication
Diffstat (limited to 'spec/models/conversation_spec.rb')
0 files changed, 0 insertions, 0 deletions