Git Product home page Git Product logo

Comments (4)

AndyTaylorTweet avatar AndyTaylorTweet commented on July 16, 2024

There are a couple of solutions here, since we dont currently update the host files without restarting the service - I could choose to set the reload time much higher, without any impact.

But I agree, the best action is likely to be to resolve the name to IP once at the update server and pull in IP's only.

from pi-star_dv_dash.

AndyTaylorTweet avatar AndyTaylorTweet commented on July 16, 2024

Modified the YSF_Hosts.txt update process, now pulling the IP only version of the update file, and dropping hosts that are not resolvable to IP address.

That should make YSFGateway start up quickly, and should make a reload of the host file seamless again.

from pi-star_dv_dash.

narspt avatar narspt commented on July 16, 2024

Yes, I think this is the best solution, because changing ReloadTime would not fix the startup delay. Also I remember an old problem, when power outage occurs and is then restored Pi-Star would usually startup faster than my router, this would make YSFGateway fail resolution and be unable to connect to any YSFs with host name on the list until restart, this should also fix this issue :)

I confirm it is very fast now:

M: 2020-02-19 13:38:18.027 Opening YSF network connection
I: 2020-02-19 13:38:18.027 Opening UDP port on 4200
M: 2020-02-19 13:38:18.027 Opening YSF network connection
I: 2020-02-19 13:38:18.027 Opening UDP port on 42000
M: 2020-02-19 13:38:18.027 Resolving FCS00x addresses
M: 2020-02-19 13:38:18.405 Opening FCS network connection
I: 2020-02-19 13:38:18.405 Opening UDP port on 42001
I: 2020-02-19 13:38:18.405 The ID of this repeater is 42620
I: 2020-02-19 13:38:18.408 Loaded 306 FCS room descriptions
I: 2020-02-19 13:38:18.423 Loaded 654 YSF reflectors
I: 2020-02-19 13:38:18.426 Loaded YSF parrot
I: 2020-02-19 13:38:18.426 Loaded YSF2DMR
I: 2020-02-19 13:38:18.426 Loaded YSF2NXDN
I: 2020-02-19 13:38:18.426 Loaded YSF2P25
M: 2020-02-19 13:38:18.519 Starting the APRS Writer thread
M: 2020-02-19 13:38:18.519 No connection startup
M: 2020-02-19 13:38:18.520 Starting YSFGateway-20190130_Pi-Star

Thank you again!

from pi-star_dv_dash.

AndyTaylorTweet avatar AndyTaylorTweet commented on July 16, 2024

nice, I'm glad it was quick to fix it :)

from pi-star_dv_dash.

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.