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

Flint doc suggests heartbeat interval response is in seconds #3

Open
pizthewiz opened this issue Dec 8, 2014 · 1 comment
Open

Comments

@pizthewiz
Copy link

The doc flint.md#b-launch-receiver-application has:

# If Receiver app launched by request, will send: 
201 CREATE
Content-Type: application/json

{
    "token":"EE2287DB-D10D-FECD-667B-8342AD095C33"
    "interval":3 #ping/pong interval
}

and:

# If receiver app already running, will send:
200 OK

Content-Type: application/json
{
    "token":"EE2287DB-D10D-FECD-667B-8342AD095C33"
    "interval":3 #ping/pong interval
}

Experimentally, the interval returned is 3000 (in-line with the maxInterval units in the request) which I would guess is in milliseconds, not seconds.

@jsli
Copy link
Member

jsli commented Dec 8, 2014

Yes, you are right. The interval is milliseconds but not seconds. Thanks very much!

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