简体   繁体   中英

Beanstalkd - is it possible to pause a tube and keep processing other tubes?

I am not that familiar with Beanstalkd.

My list of jobs ready is just increasing over time and I need to discover which tube is processing broken jobs. Is there a way to pause a Beanstalkd tube to try to process the jobs on that queue and let other tubes take priority to be processed?

I am trying to avoid to lose all the jobs on the queue and discover a way to let other jobs to be processed while we fix and find the broken tube.

Thanks for any help.

To be able to read a job from the tube, you first have to watch the tube. You can also ignore a previously watched tube.

Consumers can show interest in tubes by sending the "watch" command; they can show disinterest by sending the "ignore" command. This set of interesting tubes is said to be a consumer's "watch list". When a client reserves a job, it may come from any of the tubes in its watch list.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM