Skip to content

bugfix: prevent monitor exception spin loop when MongoDB unreachable.#4

Open
john-morales wants to merge 5 commits intodeftlabs:masterfrom
john-morales:bugfix_await_on_exception
Open

bugfix: prevent monitor exception spin loop when MongoDB unreachable.#4
john-morales wants to merge 5 commits intodeftlabs:masterfrom
john-morales:bugfix_await_on_exception

Conversation

@john-morales
Copy link
Collaborator

Hi Deftlabs!

Currently with the sleep occurs after the MongoDB calls, the background threads will sit in a verbose exception loop while the MongoDB is down. This change ensures the sleep occurs on exception, but still eagerly attempts the cleanup at startup.

Thanks!
@john-morales

@john-morales
Copy link
Collaborator Author

Ha, the travis integration on PRs is funny. Looks like maybe the oraclejdk7 and openjdk7 builds don't have MongoDB running - it was OK for openjdk6!

@nzrgit
Copy link
Collaborator

nzrgit commented Jan 24, 2014

Hey... thx for the patch! I will try to get it merged/released this weekend.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Trivial] Missing final

@mbenoit99
Copy link

One tiny fix. Otherwise... :shipit:

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.

4 participants