Skip to content

Conversation

@semistone
Copy link

add timeout when get connection

private int timeout;

public SocketPoolFactory(String nid, int bufferSize) {
public SocketPoolFactory(String nid, int bufferSize, int timeout) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change looks breaking compatibility. Could you

  1. give default value
  2. Or replace this change with adding new constructor SocketPoolFactory(String nid, int bufferSize, int timeout)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks,
I had updated.
and please also help to review another pull request
#5

@byplayer
Copy link
Member

Looks good.
I will merge it.

@byplayer byplayer merged commit e72d402 into roma:master Oct 13, 2017
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.

4 participants