[erlang-questions] erlang redis client

Ahmed Omar <>
Mon Mar 12 14:03:59 CET 2012


One note, I guess u should change the call to
erldis:blpop(Client, ["KEY1"], 600).

Not sure if that will fix your problem

On Mon, Mar 12, 2012 at 1:14 PM, <> wrote:

> 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
>
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120312/d6d0cd91/attachment.html>


More information about the erlang-questions mailing list