[erlang-questions] erlang redis client

Ahmed Omar spawn.think@REDACTED
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, <fenix.serega@REDACTED> 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
> erlang-questions@REDACTED
> 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.htm>


More information about the erlang-questions mailing list