[Freeswitch-users] mod hiredis throwing response error[(null)][4] on getting value
Aqs Younas
aqsyounas at gmail.com
Wed Dec 7 20:53:13 MSK 2016
Greetings list,
I am testing mod_hiredis to store some values in cache. I see whenever
I try to get a value against a key which does not exist. I see errors in
logs
freeswitch at debian> hiredis_raw default get key2
2016-12-07 10:19:09.033417 [INFO] hiredis_profile.c:86 hiredis: recycled
from pool[localhost, 6379]
Unknown Command: hiredis_raw default get key2
2016-12-07 10:19:09.033417 [ERR] hiredis_profile.c:222 hiredis: response
error[(null)][4]
2016-12-07 10:19:09.033417 [ERR] mod_hiredis.c:107 hiredis:
profile[default] error executing [get key2] reason:[]
whereas in the case of Memcache, this thing is handled well enough.
freeswitch at debian> memcache get key2
-ERR NOT FOUND
I have two questions here,
1) Is it possible to make hiredis to throw errors more sufficiently? Like
returning null instead of throwing these errors.
2) Is hgetall available in hiredis?
Best,
Aqs Younas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20161207/e87c17fd/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list