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

Leaving the node file explorer with the stdout.txt file open appends content over and over #1778

Closed
ascobie opened this issue Nov 15, 2018 · 2 comments · Fixed by #1781
Closed

Comments

@ascobie
Copy link
Member

ascobie commented Nov 15, 2018

Development

While a task is running, click on the task and view the logs for it. If you leave it open the contents of the file keeps getting appended with the full contents of the file. So after being open for a minute or so i have 10 or 12 copies of the file contents in the file viewer. Seems the call to get the file content is every few seconds.

Seems that the refresh is appending the entire contents of the file, rather than just any new content.

Reproducible every time.

@timotheeguerin
Copy link
Member

Seems like an issue with the tail

@timotheeguerin
Copy link
Member

So this doesn't seem to happen if the file doesn't change in size. I guess this is when contentLenght of file changes it gets the full content instead of what's missing

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

Successfully merging a pull request may close this issue.

2 participants