artemeff / redis

Redis commands for Elixir
MIT License
358 stars 63 forks source link

Add timeout parameter to Exredis.query #54

Closed markschmidt closed 8 years ago

markschmidt commented 8 years ago

Hi,

we needed the possibility to tweak the query timeout several some places. With this change to can simply do:

Exredis.query(client, ["GET", "key"], 50)

Same interface as in eredis.

Cheers,

Mark

artemeff commented 8 years ago

Thanks!