Fixed issue: NETTY-17 (NioSocketChannelConfig.setWriteSpinCount() does nothing.)
* Added an assignment statement
This commit is contained in:
parent
1837b20051
commit
094a4aaa8d
@ -66,6 +66,7 @@ class DefaultNioSocketChannelConfig extends DefaultSocketChannelConfig
|
|||||||
throw new IllegalArgumentException(
|
throw new IllegalArgumentException(
|
||||||
"writeSpinCount must be a positive integer.");
|
"writeSpinCount must be a positive integer.");
|
||||||
}
|
}
|
||||||
|
this.writeSpinCount = writeSpinCount;
|
||||||
}
|
}
|
||||||
|
|
||||||
public ReceiveBufferSizePredictor getReceiveBufferSizePredictor() {
|
public ReceiveBufferSizePredictor getReceiveBufferSizePredictor() {
|
||||||
|
Loading…
Reference in New Issue
Block a user