Skip to content

Use MissedTickBehavior::Skip for flush interval #880

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

Merged
merged 1 commit into from
Mar 21, 2023

Conversation

n1ghtmare
Copy link
Collaborator

@n1ghtmare n1ghtmare commented Mar 14, 2023

Partially addresses #875

As suggested by @caspervonb I'll split this into multiple PRs.

@caspervonb caspervonb changed the title Adjust missed tick behavior for tokio intervals Use MissedTickBehavior::Burstfor ping and flush intervals Mar 15, 2023
@caspervonb caspervonb changed the title Use MissedTickBehavior::Burstfor ping and flush intervals Use MissedTickBehavior::Burst for ping and flush intervals Mar 15, 2023
@caspervonb caspervonb self-requested a review March 15, 2023 05:37
@caspervonb caspervonb changed the title Use MissedTickBehavior::Burst for ping and flush intervals Use MissedTickBehavior::Skip for ping and flush intervals Mar 15, 2023
Copy link
Member

@Jarema Jarema left a comment

Choose a reason for hiding this comment

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

@caspervonb what do you think about ping?
I think Delay is better.

@caspervonb caspervonb force-pushed the n1ghtmare/fix-tokio-intervals branch from 60c4316 to 7de7ab2 Compare March 20, 2023 10:22
@n1ghtmare n1ghtmare force-pushed the n1ghtmare/fix-tokio-intervals branch from 7de7ab2 to f8f0875 Compare March 20, 2023 17:15
@n1ghtmare n1ghtmare changed the title Use MissedTickBehavior::Skip for ping and flush intervals Use MissedTickBehavior::Skip for flush interval Mar 20, 2023
@n1ghtmare n1ghtmare force-pushed the n1ghtmare/fix-tokio-intervals branch from f8f0875 to 8b6df8d Compare March 20, 2023 17:21
@n1ghtmare n1ghtmare force-pushed the n1ghtmare/fix-tokio-intervals branch from 8b6df8d to 20fd662 Compare March 20, 2023 18:05
Copy link
Collaborator

@caspervonb caspervonb left a comment

Choose a reason for hiding this comment

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

lgtm

@caspervonb caspervonb requested a review from Jarema March 21, 2023 10:03
Copy link
Member

@Jarema Jarema left a comment

Choose a reason for hiding this comment

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

LGTM

@Jarema Jarema merged commit 405fced into nats-io:main Mar 21, 2023
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