jonhoo / faktory-rs

Rust bindings for Faktory clients and workers
Apache License 2.0
193 stars 15 forks source link

Removing/clearing the queue programmatically #56

Closed rbozan closed 3 months ago

rbozan commented 6 months ago

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 commented 6 months ago

cc @rustworthy in case you know

rustworthy commented 6 months ago

@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:

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 commented 3 months ago

Closed by https://github.com/jonhoo/faktory-rs/pull/59