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

Refresh item shouldn't queue the task if it's already in the queue #1012

Open
1 task done
alesito85 opened this issue Feb 10, 2025 · 1 comment
Open
1 task done
Labels
feature request New feature or request good first issue Good for newcomers pri/low Low priority issue status/approved This issue is ready to be implemented

Comments

@alesito85
Copy link

Describe the feature you'd like

As the title says, currently it will process it as many times as it is queued, which is not necessary.

Describe the benefits this would bring to existing Hoarder users

Less resources used for the same effect.

Can the goal of this request already be achieved via other means?

No.

Have you searched for an existing open/closed issue?

  • I have searched for existing issues and none cover my fundamental request

Additional context

No response

@MohamedBassem MohamedBassem added feature request New feature or request good first issue Good for newcomers pri/low Low priority issue status/approved This issue is ready to be implemented labels Feb 17, 2025
@MohamedBassem
Copy link
Collaborator

Yeah, that makes sense. This should be straightforward to do by adding an idempotencyKey to the queue request that matches the item id. I think this is an easy good first issue for anyone who wants to pick it up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request good first issue Good for newcomers pri/low Low priority issue status/approved This issue is ready to be implemented
Projects
None yet
Development

No branches or pull requests

2 participants