Loading Changelog.md +19 −0 Original line number Diff line number Diff line Loading @@ -59,6 +59,24 @@ wiki](https://wiki.diasporafoundation.org/Integration/Chat#Vines_to_Prosody) for more information on how to migrate to Prosody if you've been using Vines before. ## Sidekiq queue changes We've decreased the amount of sidekiq queues from 13 to 5 in PR [#6950](https://github.com/diaspora/diaspora/pull/6950). The new queues are organized according to priority for the jobs they will process. When upgrading please make sure to empty the sidekiq queues before shutting down the server for an update. If you run your sidekiq with a custom queue configuration, please make sure to update that for the new queues. The new queues are: `urgent, high, medium, low, default`. When you upgrade to the new version, some jobs may persist in the old queues. To ensure that jobs to be processed, launch job processing for old queues using command: ``` rake migrations:run_legacy_queues ``` The command will report queues that still have jobs and launch sidekiq process for that queues. ## Refactor * Improve bookmarklet [#5904](https://github.com/diaspora/diaspora/pull/5904) * Update listen configuration to listen on unix sockets by default [#5974](https://github.com/diaspora/diaspora/pull/5974) Loading Loading @@ -118,6 +136,7 @@ before. * Extract relayable signatures into their own tables [#6932](https://github.com/diaspora/diaspora/pull/6932) * Remove outdated columns from posts table [#6940](https://github.com/diaspora/diaspora/pull/6940) * Remove some unused routes [#6781](https://github.com/diaspora/diaspora/pull/6781) * Consolidate sidekiq queues [#6950](https://github.com/diaspora/diaspora/pull/6950) ## Bug fixes * Destroy Participation when removing interactions with a post [#5852](https://github.com/diaspora/diaspora/pull/5852) Loading app/workers/clean_cached_files.rb +1 −1 Original line number Diff line number Diff line module Workers class CleanCachedFiles < Base sidekiq_options queue: :maintenance sidekiq_options queue: :low def perform CarrierWave.clean_cached_files! Loading app/workers/deferred_dispatch.rb +1 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ module Workers class DeferredDispatch < Base sidekiq_options queue: :dispatch sidekiq_options queue: :high def perform(user_id, object_class_name, object_id, opts) user = User.find(user_id) Loading app/workers/deferred_retraction.rb +1 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ module Workers class DeferredRetraction < Base sidekiq_options queue: :dispatch sidekiq_options queue: :high def perform(user_id, retraction_data, recipient_ids, opts) user = User.find(user_id) Loading app/workers/delete_account.rb +1 −1 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ module Workers class DeleteAccount < Base sidekiq_options queue: :delete_account sidekiq_options queue: :low def perform(account_deletion_id) account_deletion = AccountDeletion.find(account_deletion_id) Loading Loading
Changelog.md +19 −0 Original line number Diff line number Diff line Loading @@ -59,6 +59,24 @@ wiki](https://wiki.diasporafoundation.org/Integration/Chat#Vines_to_Prosody) for more information on how to migrate to Prosody if you've been using Vines before. ## Sidekiq queue changes We've decreased the amount of sidekiq queues from 13 to 5 in PR [#6950](https://github.com/diaspora/diaspora/pull/6950). The new queues are organized according to priority for the jobs they will process. When upgrading please make sure to empty the sidekiq queues before shutting down the server for an update. If you run your sidekiq with a custom queue configuration, please make sure to update that for the new queues. The new queues are: `urgent, high, medium, low, default`. When you upgrade to the new version, some jobs may persist in the old queues. To ensure that jobs to be processed, launch job processing for old queues using command: ``` rake migrations:run_legacy_queues ``` The command will report queues that still have jobs and launch sidekiq process for that queues. ## Refactor * Improve bookmarklet [#5904](https://github.com/diaspora/diaspora/pull/5904) * Update listen configuration to listen on unix sockets by default [#5974](https://github.com/diaspora/diaspora/pull/5974) Loading Loading @@ -118,6 +136,7 @@ before. * Extract relayable signatures into their own tables [#6932](https://github.com/diaspora/diaspora/pull/6932) * Remove outdated columns from posts table [#6940](https://github.com/diaspora/diaspora/pull/6940) * Remove some unused routes [#6781](https://github.com/diaspora/diaspora/pull/6781) * Consolidate sidekiq queues [#6950](https://github.com/diaspora/diaspora/pull/6950) ## Bug fixes * Destroy Participation when removing interactions with a post [#5852](https://github.com/diaspora/diaspora/pull/5852) Loading
app/workers/clean_cached_files.rb +1 −1 Original line number Diff line number Diff line module Workers class CleanCachedFiles < Base sidekiq_options queue: :maintenance sidekiq_options queue: :low def perform CarrierWave.clean_cached_files! Loading
app/workers/deferred_dispatch.rb +1 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ module Workers class DeferredDispatch < Base sidekiq_options queue: :dispatch sidekiq_options queue: :high def perform(user_id, object_class_name, object_id, opts) user = User.find(user_id) Loading
app/workers/deferred_retraction.rb +1 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ module Workers class DeferredRetraction < Base sidekiq_options queue: :dispatch sidekiq_options queue: :high def perform(user_id, retraction_data, recipient_ids, opts) user = User.find(user_id) Loading
app/workers/delete_account.rb +1 −1 Original line number Diff line number Diff line Loading @@ -5,7 +5,7 @@ module Workers class DeleteAccount < Base sidekiq_options queue: :delete_account sidekiq_options queue: :low def perform(account_deletion_id) account_deletion = AccountDeletion.find(account_deletion_id) Loading