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

Configurable sleep time for Agrona agent #77

Closed
tkowalcz opened this issue Oct 20, 2021 · 0 comments · Fixed by #79
Closed

Configurable sleep time for Agrona agent #77

tkowalcz opened this issue Oct 20, 2021 · 0 comments · Fixed by #79
Assignees
Labels
core Relates to Core component

Comments

@tkowalcz
Copy link
Owner

ReadingLogBufferAndSendingHttp thread sleeps only for 1ms between runs. This can consume significant part of CPU time. Make the delay configurable.

@tkowalcz tkowalcz added the core Relates to Core component label Oct 20, 2021
@tkowalcz tkowalcz self-assigned this Oct 20, 2021
tkowalcz added a commit that referenced this issue Oct 21, 2021
…dingHttp) to LogShipper. Added option to configure time it sleeps between reading from log buffer to not hog CPU. Also now default is 25ms instead of hardcoded 1ms previously.
tkowalcz added a commit that referenced this issue Oct 21, 2021
…dingHttp) to LogShipper. Added option to configure time it sleeps between reading from log buffer to not hog CPU. Also now default is 25ms instead of hardcoded 1ms previously.
tkowalcz added a commit that referenced this issue Oct 21, 2021
…perWakeupIntervalMillis) and implemented missing Logback part.
tkowalcz added a commit that referenced this issue Oct 23, 2021
tkowalcz added a commit that referenced this issue Oct 23, 2021
tkowalcz added a commit that referenced this issue Oct 23, 2021
tkowalcz added a commit that referenced this issue Oct 23, 2021
tkowalcz added a commit that referenced this issue Oct 23, 2021
tkowalcz added a commit that referenced this issue Oct 23, 2021
@tkowalcz tkowalcz linked a pull request Oct 23, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Relates to Core component
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant