fixed maxConnection reference fixes #47
This commit is contained in:
parent
11b428c47d
commit
57a813124e
2 changed files with 4 additions and 2 deletions
|
@ -9,6 +9,7 @@ var ipc=require('../../../node-ipc');
|
|||
|
||||
ipc.config.id = 'world';
|
||||
ipc.config.retry= 1500;
|
||||
ipc.config.maxConnections=1;
|
||||
|
||||
ipc.serveNet(
|
||||
function(){
|
||||
|
|
|
@ -172,7 +172,9 @@ function init(path,config,log,port){
|
|||
err
|
||||
)
|
||||
}
|
||||
)
|
||||
);
|
||||
|
||||
server.server.maxConnections=server.config.maxConnections;
|
||||
|
||||
function serverCreated(socket) {
|
||||
server.sockets.push(socket);
|
||||
|
@ -290,7 +292,6 @@ function init(path,config,log,port){
|
|||
started
|
||||
);
|
||||
|
||||
server.server.maxConnections=server.maxConnections;
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue