Hi,
On 29.1.14 2:46 , [email protected] wrote:
Author: jukka
Date: Wed Jan 29 01:46:43 2014
New Revision: 1562341
URL: http://svn.apache.org/r1562341
Log:
OAK-1332: Large number of changes to the same node can fill observation queue
Implement rate-limiting to of ChangeListener callbacks, as mentioned in the
issue
public void generate() {
if (!continuations.isEmpty()) {
- continuations.removeFirst().run();
+ Continuation c = continuations.removeFirst();
+ c.after.compareAgainstBaseState(c.before, c);
}
}
I preferred the former variant as it resembled more explicitly the
notation of a continuation: the rest of the computation.
Michael