Giter Club home page Giter Club logo

Comments (2)

MitchBradley avatar MitchBradley commented on August 13, 2024

FluidNC is working as intended. Responses are identified by a "routing tag" like "MSG:JSON" or "MSG:ERR" or one of various other prefixes that should be used to direct the information to a specialist handler for that type of message. It is incorrect to expect that the response to $Files/ListJSON will contain only JSON messages. In order to restrict the response thusly, threads would need to blocked in a way that could cause timing or deadlock problems. The reason it appears to work with the old [FILE: response is because those responses do not participate properly in the flow control for outgoing messages; the thread that generates them just sends without regard to whether the receiver can keep up with the message rate. That often works, but is fundamentally unreliable at the edge cases.

The response to $File/ListJSON should be considered a work in progress. I am considering making some tweaks to make things more efficient for I/O expanders. People who write their own pendants should be prepared to revise their code until things settle down.

from fluidnc.

tower-guy avatar tower-guy commented on August 13, 2024

I'll have to have another look at the structure, I'm probably using a too simplistic method
Thanks

from fluidnc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.