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

Use abstract runnable in scheduled ping #11795

Merged
merged 1 commit into from Jun 22, 2015

Conversation

s1monw
Copy link
Contributor

@s1monw s1monw commented Jun 22, 2015

@martijnvg
Copy link
Member

LGTM

s1monw added a commit that referenced this pull request Jun 22, 2015
Use abstract runnable in scheduled ping
@s1monw s1monw merged commit af4b7ee into elastic:master Jun 22, 2015
@s1monw s1monw removed the review label Jun 22, 2015
@s1monw s1monw deleted the abstract_runnable_ping branch June 22, 2015 08:27
if (lifecycle.stoppedOrClosed()) {
logger.trace("[{}] failed to send ping transport message", t);
} else {
logger.warn("[{}] failed to send ping transport message", t);
Copy link
Contributor

Choose a reason for hiding this comment

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

The test failed because of a rejection exception. In that case we are pretty sure we are shutting down. In all other cases shouldn't we re-schedule the ping?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants