Git Product home page Git Product logo

Comments (10)

snxraven avatar snxraven commented on June 28, 2024

i was going to post about this u beat me haha

from siriservercore.

jimmykane avatar jimmykane commented on June 28, 2024

I have seen in the code the method that the connections are counted. All similar code snippets on the web recomended this method that you use and seems theoriticaly logical to work. But I am not expirenced on this thus cannot tell for sure.
Mabe we need to monitor the connectionFailure method or list active sockets

from siriservercore.

janrueth avatar janrueth commented on June 28, 2024

Actually it monitors the connectionLost method, I think the count does not decrease because when siri finishes a single speech request and is dismissed on the device it does not automatically close the connection and thus stays alive for some more time

from siriservercore.

jimmykane avatar jimmykane commented on June 28, 2024

Ok. So lets set a better timeout ?

from siriservercore.

janrueth avatar janrueth commented on June 28, 2024

Hm... don't know if that is a problem anyways.. but yeah, be could say... no ping within 10 sec.. DIE

from siriservercore.

jimmykane avatar jimmykane commented on June 28, 2024

no 10 secs is little. More like one minute is ok.

from siriservercore.

janrueth avatar janrueth commented on June 28, 2024

ah the ping is very constant.. you actually get a ping very second... or another packet... so 10 sec would be fine... but we could make that adjustable...

However... beer is currently holding me back from development

from siriservercore.

jimmykane avatar jimmykane commented on June 28, 2024

Go for beer! Is what I love too! And you are lucky because (i suppose you live in Germany) you live in the Queen country of Beer!

Don't worry I am learning python as fast as i can so i can contribute more.

from siriservercore.

janrueth avatar janrueth commented on June 28, 2024

Thx... Friday evening .... germany... beer... ...beer.... ahh waiit..... no... beer again... beer... so.... as far as I know... I had a byte ... or.. at least a nibble... http://www.bitburger.com/

from siriservercore.

janrueth avatar janrueth commented on June 28, 2024

Should now be implemented, every 20 seconds it is checked if the last ping was more than 10 seconds ago... this max a maximum stall connection timeout of 30 seconds

from siriservercore.

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.