You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mmmh the Beanstalkd adapter (i.e. the PHP class) doesn't support the feature (because it's not implemented). But maybe this is this sentence that could be fixed:
In other words, you can't run a task and wait for it to finish, because Beanstalkd doesn't offer that feature.
I haven't thought about using peek, maybe there's indeed a way to make it work! Thanks for the link that's interesting.
mnapoli
changed the title
The Beanstalkd adapter doesn't support the features provided by the SynchronousWorkDispatcher interface.
The Beanstalkd adapter could support SynchronousWorkDispatcher with "peek"
Dec 8, 2014
No problemo, if you'd like I can help you. I have written some code that sends a message to Beanstalkd and keeps polling (a.k.a. peeking) untill the job was picked up by a consumer.
Feel free to contribute, I'd gladly merge it. I am not using this lib for the moment (it's used by a project that is in production) but anything to make it better is great!
I think you are wrong about this. See https://github.com/kr/beanstalkd/blob/master/doc/protocol.txt#L360
The text was updated successfully, but these errors were encountered: