Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

forever start main doesn't launch app. minUptime spinSleepTime warnings #227

Open
Dream-in-Color opened this issue Mar 18, 2018 · 1 comment

Comments

@Dream-in-Color
Copy link

Hello,

Need help configuring and launching app.
I think everything is setup correctly but the app is not launching.

When i run "forever start main.js" The app doesn't launch and there are no error messages, so i don't know what to fix.
I get two warnings about minUptime and spinSleepTime not set, a quick google search reveals that these can be ignored, is that true or should they be set some high constant?

My tribeca.json is configured as follows;

"TRIBECA_MODE": "dev",
"EXCHANGE": "HitBtc",
"TradedPair": "BTC/USD",
"MongoDbUrl": "mongodb://localhost:27017/tribeca",
"WebClientUsername": "NULL",
"WebClientPassword": "NULL",
"WebClientListenPort": "3000",
"ShowAllOrders": "true",

"HitBtcPullUrl": "http://demo-api.hitbtc.com",
"HitBtcOrderEntryUrl": "ws://demo-api.hitbtc.com:8080",
"HitBtcMarketDataUrl": "ws://demo-api.hitbtc.com:80",
"HitBtcSocketIoUrl": "https://demo-api.hitbtc.com:8081",
"HitBtcApiKey": "MyHitBtcAPIKey",
"HitBtcSecret": "MyHitBtcAPIKeySecret",
"HitBtcOrderDestination": "HitBtc",

PS C:\Users\Username\tribeca\tribeca\service> forever start main.js
warn: --minUptime not set. Defaulting to: 1000ms
warn: --spinSleepTime not set. Your script will exit if it does not stay up for at least 1000ms
info: Forever processing file: main.js
PS C:\Users\Username\tribeca\tribeca\service>

@ldc2726
Copy link

ldc2726 commented Mar 19, 2018

@Dream-in-Color Hello, it can be ignored, it can work normally, but I have encountered the market data show no trouble, you see you solved?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants