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 logsfreeswitch@debian> hiredis_raw default get key22016-12-07 10:19:09.033417 [INFO] hiredis_profile.c:86 hiredis: recycled from pool[localhost, 6379]Unknown Command: hiredis_raw default get key22016-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@debian> memcache get key2-ERR NOT FOUNDI 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
____________________________________________________________ _____________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch- users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/ options/freeswitch-users
http://www.freeswitch.org