On 03/16/2011 07:49 PM, Robert Story wrote: > On Wed, 16 Mar 2011 17:25:51 +0200 Timo wrote: > TT> > I think the concept you are talking about for the cache is ok, but I'm > not > TT> > sure that auto-sychronized is the right name. It's more of a > keep-alive, isn't > TT> > it? simply bumping the expiration time when the cache is used? > TT> > TT> Correct. The flag name is misleading. I first thought that it'd do more > TT> things, but all it had to do is bump the timestamp on each GET. So if > TT> you have a good new name, I can run sed and post a new patch. > > How about NETSNMP_CACHE_RESET_TIMER_ON_USE? Please add a note in the > documentation that using this flag without a method of keeping the cache fresh > will result in stale data if polling is more frequent than the expiration > timer.
Sure. New patch uploaded. - Timo ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders