Beanstalk is not intended as a general purpose data-store with
different methods of data retrieval, hence it doesnt offer any content
searching capabilities.

Your current approach of iterating over every job and then processing
it or rejecting is all you really can do right now.

/Cody

On Mon, Nov 8, 2010 at 1:51 PM, Bill Edwards <[email protected]> wrote:
> Hi,
>
> I am trying to figure out the best way to search and delete tasks
> based on a property of the task.
>
> In a typical use case, I have 10K tasks in the queue.  Each task is a
> json encoded array.  I want to be able to delete all tasks that have a
> certain element in the task's array.  Right now, I have to reserve
> every task, and release it if it doesnt have that property in the
> array.  Is there a more efficient way of accomplishing this?
>
> Thanks!
>
> --
> You received this message because you are subscribed to the Google Groups 
> "beanstalk-talk" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/beanstalk-talk?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"beanstalk-talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/beanstalk-talk?hl=en.

Reply via email to