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 queue build up issue in gpsd_client #89

Merged
merged 1 commit into from
Oct 26, 2023

Commits on Oct 11, 2023

  1. Fix queue build up issue in gpsd_client

    In step() which is called periodically according to the parameter
    publish_rate we only perform read() once, which means that there could
    still be more unprocessed data from gpsd waiting. This leads to a build
    up of unprocessed data causing the published data to be old and
    outdated.
    
    By instead using the waiting() call to see if there's more
    data to be processed we can make sure that what we publish is actually
    the newest available data.
    erikboto committed Oct 11, 2023
    Configuration menu
    Copy the full SHA
    c205a0b View commit details
    Browse the repository at this point in the history