Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

azell
Copy link

@azell 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 added a commit that referenced this pull request Dec 9, 2011
Fix for issue #54: Lifecycle policy scheduler needs to be modified based on activity
@jfarcand jfarcand merged commit 1bf6277 into Atmosphere:master Dec 9, 2011
jfarcand added a commit that referenced this pull request May 30, 2012
Fix for issue #54: Lifecycle policy scheduler needs to be modified based on activity
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants