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

Wrong description in task details endpoint (?) #11

Open
sgeorgakis opened this issue Nov 3, 2022 · 2 comments
Open

Wrong description in task details endpoint (?) #11

sgeorgakis opened this issue Nov 3, 2022 · 2 comments

Comments

@sgeorgakis
Copy link

In the description of task details, it is mentioned:
Keep the connection open until the task isn't in a terminal state and send the updated response every 2 seconds.
Is this correct?
The connection should be left open while the task isn't in a terminal state?

@pribor
Copy link
Contributor

pribor commented Nov 3, 2022

Yes, it is correct. The result can be sth like:

{.., state: "SCHEDULED"}
..2s
{.., state: "SCHEDULED"}
..2s
{.., state: "RUNNING"}
..2s
{.., state: "RUNNING"}
..2s
{.., state: "DONE"}
.. connection closed

@sgeorgakis
Copy link
Author

This was what I was thinking. My comment was about a typo. I guess the correct description should be Keep the connection open while the task isn't in a terminal state and send the updated response every 2 seconds.
There is a chance however that I need to refresh my English vocabulary :)

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