[erlang-questions] erlang redis client

fenix.serega@REDACTED fenix.serega@REDACTED
Mon Mar 12 13:14:42 CET 2012


Hi

I'm trying to use erlang redis client
https://github.com/cstar/erldis/blob/master/src/erldis.erl

Module (test) code is:

query() ->
    {ok, Client} = erldis:connect("localhost", 6379),
        erlang:display(Client),

    erldis:blpop(Client, "KEY1", 600).

as result:

test.query().


[{error,<<"ERR timeout is not an integer or out of range">>}]

What i'm doing wrong !?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120312/e7ed6489/attachment.htm>


More information about the erlang-questions mailing list