Giter Site home page Giter Site logo

Comments (5)

Julusian avatar Julusian commented on September 25, 2024

Perhaps instead of letting the user adjust this, it would be better to have it a bit higher anyway, and minimise the amount the child code will be blocking so that the pings have a chance of being reposnded to.
For example, the parsing code will be parsing every command in a packet before handling other calls from the parent

from sofie-atem-connection.

from-the-river-to-the-sea avatar from-the-river-to-the-sea commented on September 25, 2024

I agree that avoiding the need to have users adjust this in the first place is ideal.

from sofie-atem-connection.

Julusian avatar Julusian commented on September 25, 2024

hmm.. the child process is not parsing the commands, so I dont know what could be being so slow with it. perhaps it is the data transfers in and out of the child?

from sofie-atem-connection.

Julusian avatar Julusian commented on September 25, 2024

Implemented in 724d5aa

From some digging, if the parent process blocks for a certain period then the child will see that as a timeout and shutdown. So either side blocking for longer will cause the connection to die, which could be your problem here

from sofie-atem-connection.

Julusian avatar Julusian commented on September 25, 2024

The child process no longer relies on parent pings to do a liveness check, so this should be fully resolved in the 2.0.0-nightly-20200626-195656-eb05a5c.0 prerelease

from sofie-atem-connection.

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.