Hello Dennis,

thanks for you solution. I have the same problem some weeks ago, and 
found no answer. I am also
interested in a working beanstalk php class. I will try stream_select() 
next week. perhaps you or mike
can share the working beanstalk php class?

Have a nice day. Kind regards

Alexander


Dennis Krul wrote:
> Hey Mike,
>
> I don't use the beanstalk php class, but I used it as a reference to
> implement my own one as a datasource for cakephp some time ago and I had
> the same issue. 
>
> The trick is to use stream_select() to wait for data on the socket before
> reading from the socket. You need to hack that into the reserve function
> somewhere. I'm actually a bit surprised this hasn't been fixed in the
> 'official' beanstalk php class yet. Perhaps no-one actually uses it except
> you and me :) 
>
> Good luck
>
>   

--

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