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

[INLONG-5907][TubeMQ] Replace the while-sleep with ScheduledExecutorService for tube server loopProcess #5908

Merged

Conversation

liangyepianzhou
Copy link
Contributor

Prepare a Pull Request

Motivation

it is not recommended to execute a scheduled task by while-sleep.

Modifications

Replace while-sleep with ScheduledExecutorService.

@gosonzhang gosonzhang merged commit 536e8e6 into apache:master Sep 17, 2022
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.

[Improve][TubeMQ] Replace the while-sleep with ScheduledExecutorService for tube server loopProcess
4 participants