Works for me with version 1.4.6:
>>> import socket
>>> s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
>>> s.connect(('localhost', 11300))
>>> s.sendall('use mytube\r\n')
>>> s.recv(1024)
'USING mytube\r\n'
>>> s.sendall('put 4294967295 0 30 6\r\n')
>>> s.sendall('foobar\r\n')
>>> s.recv(1024)
'INSERTED 10901\r\n'
>>> s.sendall('peek-ready\r\n')
>>> s.recv(1024)
'FOUND 10901 6\r\nfoobar\r\n'
Maybe you're watching the tube instead of using it?
On Mar 7, 12:39 pm, Gordon <[email protected]> wrote:
> Hi,
>
> I have been doing some investigation and it seems that peek-ready,
> peek-delayed and peek-buried are broken and are only returning
> NOT_FOUND.
>
> I am fairly certain this is a bug.
>
> Can anyone confirm 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.