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

sleep in thread, not before thread #166

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

painter1
Copy link
Contributor

@painter1 painter1 commented Mar 9, 2021

There was a one-second "sleep" before every call (but the first) of start_transfer_thread().
I moved the "sleep" into the thread itself.
The data node doesn't see the difference, but this can have a very noticeable effect on performance if there are active transfers from many data nodes in parallel.

start_transfer_thread().  I moved the "sleep" into the thread itself.
The data node doesn't see the difference, but this can have a very noticeable
effect on performance if there are active transfers from many data nodes in
parallel.
@painter1 painter1 changed the title sleep in thread, not before thred sleep in thread, not before thread Mar 12, 2021
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.

1 participant