diff --git a/lib/client.js b/lib/client.js index cd7f6d4..4118ca5 100644 --- a/lib/client.js +++ b/lib/client.js @@ -13,8 +13,6 @@ function init(config,log){ } new pubsub(client); - console.log(this) - return client; } @@ -131,7 +129,7 @@ function connect(){ data=(this.ipcBuffer+=data); if(data.slice(-1)!=eventParser.delimiter){ - client.log('Socket buffer size exceeded consider smaller messages or a larger buffer.'.warn, 'Implementing software buffer expansion for this message.'.notice); + server.log('Implementing larger buffer for this socket message. You may want to consider smaller messages'.notice); return; } diff --git a/lib/socketServer.js b/lib/socketServer.js index 2b49dbf..a3d0110 100644 --- a/lib/socketServer.js +++ b/lib/socketServer.js @@ -173,7 +173,7 @@ function init(path,config,log,port){ data=(this.ipcBuffer+=data); if(data.slice(-1)!=eventParser.delimiter){ - server.log('Socket buffer size exceeded, consider smaller messages or a larger buffer.'.warn, 'Implementing software buffer expansion for this message.'.notice); + server.log('Implementing larger buffer for this socket message. You may want to consider smaller messages'.notice); return; } diff --git a/package.json b/package.json index 38a9a82..32ac944 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "node-ipc", - "version": "1.1.8", + "version": "1.1.9", "description": "A nodejs module for local and remote Inter Process Communication (IPC), Neural Networking, and able to facilitate machine learning.", "main": "node-ipc.js", "directories": {