commit 25a2d94974c7befd13f90e52b61e297c31ae52e9
Björn Jacke
bj at SerNet.DE
Wed Sep 15 13:02:47 MDT 2010
On 2010-09-15 at 13:20 -0400 simo sent off:
> On Wed, 2010-09-15 at 18:27 +0200, Björn JACKE wrote:
> > + if (timediff > lp_printcap_cache_time() ) {
> > + /* if refresh occurred more than
> > lp_printcap_cache_time ago,
> > + * then we need to refresh */
> > + return true;
>
> Why did you change the semnatics to check for lp_printcap_cache_time() ?
isn't the printcap cache time exactly the timeout that we should use here? This
is all about the printcap cache tdb - if printcap cache time is set to 30
seconds the printcap (aka printer list) cache tdb should obviously also just be
updated in that frequency, am I wrong?
Björn
More information about the samba-technical
mailing list