Fix for issue #54: Lifecycle policy scheduler needs to be modified based on activity #119

Merged
merged 1 commit into from Dec 9, 2011

Conversation

Projects
None yet
2 participants

azell commented Dec 9, 2011

Maintain an atomic boolean that is set to true on every publish. Check in the life cycle handler to see if the atomic boolean has remained false through at least one full interval. If so, proceed with checking the various IDLE_* conditions.

This is a minimal-effort approach, in that we do not alter the handler's scheduling to detect a precise idle interval.

@jfarcand jfarcand added a commit that referenced this pull request Dec 9, 2011

@jfarcand jfarcand Merge pull request #119 from azell/master
Fix for issue #54: Lifecycle policy scheduler needs to be modified based on activity
1bf6277

@jfarcand jfarcand merged commit 1bf6277 into Atmosphere:master Dec 9, 2011

@jfarcand jfarcand added a commit that referenced this pull request May 30, 2012

@jfarcand jfarcand Merge pull request #119 from azell/master
Fix for issue #54: Lifecycle policy scheduler needs to be modified based on activity
c6b57cc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment