[kronolith] Scheduled cached email results

Chuck Hagenbuch chuck at horde.org
Sat Nov 12 19:21:57 PST 2005


Quoting "Kevin M. Myer" <kevin_myer at iu13.org>:

> Having spent a few hours trying to figure out why the Scheduler wasn't
> looking up values properly in Kronolith, I remembered there was an
> email a few weeks ago about the Scheduler caching the $_emails values,
> which was preventing the Identity functions from being called.  So
> thats a likely suspect for why my code wasn't working (but I'm done for
> the night, so it will have to be tested on another day).  Are there any
> other places that data might be cached with no expiration date like
> this?  Just looking to prevent some wasted time in the future if I
> can..  What's needed to add support for expiring the $_emails values?
> Just a timestamp and a check to see if the timestamp is too old?

Yes, pretty much. As for caching, anything inside a Scheduler object 
that's not explicitly reset is cached by the serialization routine.

-chuck

-- 
"But she goes not abroad in search of monsters to destroy." - John 
Quincy Adams


More information about the kronolith mailing list