Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

low_delivery queue v2 #30150

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

low_delivery queue v2 #30150

wants to merge 5 commits into from

Conversation

shleeable
Copy link
Contributor

@shleeable shleeable commented May 2, 2024

Remake of #20216... please just close both PRs if this isn't worth the price.

Will require a lot of admins to add the additional queue.

@shleeable shleeable marked this pull request as ready for review May 2, 2024 11:29
@@ -1,5 +1,5 @@
# frozen_string_literal: true

class ActivityPub::LowPriorityDeliveryWorker < ActivityPub::DeliveryWorker
sidekiq_options queue: 'pull', retry: 8, dead: false
sidekiq_options queue: 'low_delivery', retry: 8, dead: false
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This may be over-analyzing, but I interpret low_delivery as "this is something which is unlikely to be delivered". Would low_priority or nonessential or relaxed or something (?) ...

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I originally named it for "Low priority delivery".
As I know, This sends these kind of activity

  • Delete Actor
  • Forward remotes' Delete activity

As it sends local "Delete Actor" activity, nonessential doesn't reflect about it.
In my opinion, I'd like low_priority

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants