Created
April 28, 2015 14:12
-
-
Save ensonic/bf43f30805b7d240b8e1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/noflo-nodejs.coffee b/src/noflo-nodejs.coffee | |
index 923da82..7fe4019 100644 | |
--- a/src/noflo-nodejs.coffee | |
+++ b/src/noflo-nodejs.coffee | |
@@ -60,7 +60,6 @@ require 'coffee-cache' if program.cache | |
stored = lib.getStored program | |
baseDir = process.env.PROJECT_HOME or process.cwd() | |
-interval = 10 * 60 * 1000 | |
if !stored.id | |
console.error 'No configuration found at ' + lib.getStoredPath() + '. Please run noflo-nodejs-init first if you want the runtime to showup on flowhub.' | |
if !program.graph | |
@@ -147,7 +146,7 @@ startServer = (program, defaultGraph) -> | |
# runtime is still available | |
setInterval -> | |
flowhubRuntime.ping() | |
- , interval | |
+ , flowhub.Runtime.PING_INTERVAL | |
return | |
return | |
return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment