-
Notifications
You must be signed in to change notification settings - Fork 65
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
Various stuff lying around #505
base: master
Are you sure you want to change the base?
Changes from all commits
df30a8d
525138e
8639ddc
6a87825
01a1984
583a3f6
2795e01
0d91f42
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -410,12 +410,6 @@ private void startServerSocket() throws IOException { | |
} | ||
serverSocketChannel.socket().bind(address); | ||
log.info("Master started and listening for connection on: " + address); | ||
log.info("Waiting 5 seconds for server socket to open completely"); | ||
try { | ||
Thread.sleep(5000); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why are you removing this? Maybe I should ask why it was there before. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yep, the latter is the correct question :) It has been there after some early committer (back at Mircea's days) seemingly resolved some problem. Does not make much sense to me now and I was running happily without. |
||
} catch (InterruptedException ex) { | ||
// ignore | ||
} | ||
} | ||
|
||
private int readInt(SocketChannel socketChannel) throws IOException { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This method seems to be unused.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
readResolve
is Java serialization hook.