Comparing version 1.1.0 to 1.1.4
@@ -11,3 +11,3 @@ var ipc=require('../../../node-ipc'); | ||
ipc.config.id = 'hello'; | ||
ipc.config.retry= 1500; | ||
ipc.config.retry = 1000; | ||
@@ -14,0 +14,0 @@ ipc.connectTo( |
@@ -84,6 +84,8 @@ var net = require('net'), | ||
if(client.stopRetrying || client.retriesRemaining<1){ | ||
client.log(client.config.id.variable,'exceeded connection rety amount of'.warn,client.config.stopRetrying, " or stopRetrying flag set."); | ||
client.socket.destroy(); | ||
client=undefined; | ||
return; | ||
if(client.config.maxRetries){ | ||
client.log(client.config.id.variable,'exceeded connection rety amount of'.warn,client.config.stopRetrying, " or stopRetrying flag set."); | ||
client.socket.destroy(); | ||
client=undefined; | ||
return; | ||
} | ||
} | ||
@@ -103,3 +105,3 @@ | ||
if(!client.isRetrying) | ||
client.retriesRemaining=ipc.config.maxRetries; | ||
client.retriesRemaining=client.config.maxRetries; | ||
}, | ||
@@ -106,0 +108,0 @@ 100 |
@@ -224,3 +224,3 @@ var os = require('os'), | ||
callback(); | ||
callback(ipc); | ||
} | ||
@@ -295,5 +295,5 @@ | ||
callback(); | ||
callback(ipc); | ||
} | ||
module.exports=ipc; |
{ | ||
"name": "node-ipc", | ||
"version": "1.1.0", | ||
"version": "1.1.4", | ||
"description": "A nodejs module for local and remote Inter Process Communication (IPC), Neural Networking, and able to facilitate machine learning.", | ||
@@ -37,3 +37,3 @@ "main": "node-ipc.js", | ||
"author": "Brandon Nozaki Miller", | ||
"license": "Unlicenced", | ||
"license": "DBAD", | ||
"repository": { | ||
@@ -40,0 +40,0 @@ "type": "git", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Explicitly Unlicensed Item
License(Experimental) Something was found which is explicitly marked as unlicensed.
Found 1 instance in 1 package
64796
0
80
1308