[OpenSIPS-Users] exec_avp in timer route
Brett Nemeroff
brett at nemeroff.com
Tue Dec 20 21:32:41 CET 2011
On Tue, Dec 20, 2011 at 1:47 PM, ddgiants <ddgiants at gmail.com> wrote:
> Hey Brett - thanks for the communication. So you are using avp_db_queries?
> That's what i was using but the issue is if I change anything in startup I
> have to change it in timer as well Using the script I change it once.
>
What I normally do is use startup route to push objects into memcache for
something like 10 minutes. Then run a timer route every 5 minutes and
update the memcache. This keeps the cache fresh and lets objects expire as
they disappear. Your requirements may require something else :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20111220/cc312789/attachment.htm>
More information about the Users
mailing list