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

Removing/clearing the queue programmatically #56

Closed
rbozan opened this issue Mar 1, 2024 · 3 comments
Closed

Removing/clearing the queue programmatically #56

rbozan opened this issue Mar 1, 2024 · 3 comments

Comments

@rbozan
Copy link

rbozan commented Mar 1, 2024

It is not clear to me how to remove the queue in Rust using the library. Basically, the equivalent of the Clear button in the WebUI :

image

@jonhoo
Copy link
Owner

jonhoo commented Mar 2, 2024

cc @rustworthy in case you know

@rustworthy
Copy link
Collaborator

rustworthy commented Mar 2, 2024

@rbozan thanks for pointing at that. Indeed, not all queue control actions are supported right now. We support pause/resume queues by names, and plan to cover the rest of functionality:

  • pause/resume all queues;
  • clear (effectively, remove) all queues;
  • clear (effectively, remove) queues by names;

Planning to deliver that after the ongoing work on the switch to async is finished. But a PR will be much appreciated!


For reference:

The relevant Faktory server code
The corresponding section in our bindings.


cc @jonhoo

@jonhoo
Copy link
Owner

jonhoo commented May 25, 2024

Closed by #59

@jonhoo jonhoo closed this as completed May 25, 2024
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

No branches or pull requests

3 participants