Clear! Thanks for the info. Cheers, Bert
________________________________________ Van: [email protected] [[email protected]] namens Grégory Joseph [[email protected]] Verzonden: vrijdag 9 april 2010 12:57 Aan: Magnolia User-List Onderwerp: Re: [magnolia-user] observation and delay question Hi Bert, On Apr 9, 2010, at 11:42, Bert Leunis wrote: > We started to use the observation module, and read the documentation about > it at: http://documentation.magnolia-cms.com/modules/observation.html. It is > possible to delay the listener, as described. We are quite curious about the > uses of such a delay. We cannot think of an obvious reason why you should > want that. Or is it advised to use a certain amount of delay to prevent JCR > getting into performance/memory problems? When adding a "delay", matching events are accumulated at least until the delay (and at most until maxDelay) and your listener called once (with the accumulated events, so it can still process each of them separately if needed); this can be very useful, and is used for instance with the modules configuration: a module's configuration will be reloaded and restarted only once even if you add several properties or subnodes at once. Cheers, -g ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ---------------------------------------------------------------- ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
