Skip to content

Conversation

@mattaezell
Copy link
Contributor

Prior to the issue_Drequest refactoring, the main loop would wait for
network connections over the wire. Currently, it runs and sleeps for
100 microseconds before starting over. Refactor so it does less
checking each iteration and sleep longer before starting the next
iteration.

Prior to the issue_Drequest refactoring, the main loop would wait for
network connections over the wire.  Currently, it runs and sleeps for
100 microseconds before starting over.  Refactor so it does less
checking each iteration and sleep longer before starting the next
iteration.
@mattaezell
Copy link
Contributor Author

This does change default behavior a little - now, it only checks if it should update the LOGLEVEL or pbs_tcp_timeout every 10 seconds. Also, it only calls send_any_hellos_needed() every 10 seconds. I don't think there's any reason to do this every time through the main loop, but I could be wrong here.

Let me know if you want me to split these changes into a separate commit.

@ghost ghost assigned knielson Dec 17, 2012
dbeer pushed a commit that referenced this pull request Feb 4, 2013
Reduce the frequency in which the main loop runs
@dbeer dbeer merged commit 357efd8 into adaptivecomputing:master Feb 4, 2013
@dbeer
Copy link

dbeer commented Feb 4, 2013

As far as changing those default behaviors, I think that is another plus for your changes.

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.

3 participants