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

Fix saving metadata for files in subfolders #307

Merged
merged 1 commit into from
Nov 6, 2021

Conversation

EnAppelsin
Copy link
Contributor

I noticed Octoprint-Dashboard was causing very high CPU usage during prints, and it seemed to be looping preprocessing the gcode infinitely. Eventually found as my GCode was in a subfolder, it was not correctly saving the metadata and looping constantly reanalysing the gcode (even during print! causing stuttering)

This quick fix has solved the problem, the save_additional_metadata call now uses the path, as get_metadata does.

@j7126 j7126 changed the base branch from master to development November 6, 2021 20:50
@j7126 j7126 merged commit 9f3b4d9 into j7126:development Nov 6, 2021
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

Successfully merging this pull request may close these issues.

2 participants