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

-- 
Dennis Krul <[email protected]>

--

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