[SR-Users] HTABLE update from DB

Uri Shacked ushacked at gmail.com
Sun Feb 23 17:56:32 CET 2014


It does not work...I tried with autoexpire=0, I tried with no
autoexpires define, I Tried defining a number and see if the value is
updated....


this is my table definition:

modparam("htable", "htable", "A=>size=8,dbtable=aaaaaa;initial=0,dbmobe=0;")


I remind you i need the memory to be updated from the DB every
interval, and not the DB form the memory.


thanks.


>Declare the table without autoexpire. Check again the module README.

>Regards,
>Ovidiu Sas
>On Feb 23, 2014 11:23 AM, "Uri Shacked" <ushacked at gmail.com <http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users>> wrote:

>>* Hi,
*>>>>* Following my issue with reloading data. I am thinking of a way to keep
*>>* data updated in memory.
*>>* I read the HTABLE module again and notice the "db_expires" option.
*>>* It does not work for me...
*>>>>* I try to set it so an item will expire in 60 sec, and when expired, it
*>>* will be reloaded from DB and not deleted.
*>>>>* Any ideas?
*>>>>* Uri*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140223/e6e5b8df/attachment.html>


More information about the sr-users mailing list