This commit is contained in:
@@ -60,7 +60,9 @@ public abstract class WebSocketNode {
|
|||||||
protected Semaphore semaphore;
|
protected Semaphore semaphore;
|
||||||
|
|
||||||
public void init(AnyValue conf) {
|
public void init(AnyValue conf) {
|
||||||
//if (sncpNodeAddresses != null) sncpNodeAddresses.initValueType(InetSocketAddress.class);
|
if (sncpNodeAddresses != null && "memory".equals(sncpNodeAddresses.getType())) {
|
||||||
|
sncpNodeAddresses.initValueType(InetSocketAddress.class);
|
||||||
|
}
|
||||||
if (localEngine != null) {
|
if (localEngine != null) {
|
||||||
int wsthreads = localEngine.wsthreads;
|
int wsthreads = localEngine.wsthreads;
|
||||||
if (wsthreads == 0) wsthreads = Runtime.getRuntime().availableProcessors() * 8;
|
if (wsthreads == 0) wsthreads = Runtime.getRuntime().availableProcessors() * 8;
|
||||||
|
|||||||
Reference in New Issue
Block a user