about summary refs log tree commit diff
path: root/app/workers/merge_worker.rb
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-09-12 00:16:03 +0200
committerGitHub <noreply@github.com>2017-09-12 00:16:03 +0200
commit0a6b0986685e6a54042b22ae01df4dd0aad9f6b0 (patch)
tree5d200fe9250f8a1f734847cd1184de00f524dd8d /app/workers/merge_worker.rb
parent0ef9d45d0581dddf2f325033c43721f42fcfca9e (diff)
Fix count numbers from ActivityPub not being saved (#4899)
They are marked as read-only by Rails, but we know what we are doing,
so we are un-marking them as such.

The mastodon:maintenance:update_counter_caches task is not really
supposed to be run anymore (it was a one-time thing during an upgrade)
however, just in case, I have modified it to not touch ActivityPub
accounts.

Also, no point writing to logger from these rake tasks, since they
are not to be run from cron. Better to give stdout feedback.
Diffstat (limited to 'app/workers/merge_worker.rb')
0 files changed, 0 insertions, 0 deletions