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

Add osqueryd file presence check to autoupdate running version check #1818

Merged
merged 3 commits into from
Aug 1, 2024

Conversation

zackattack01
Copy link
Contributor

We noticed the on-demand osquery download was taking longer than expected and @RebeccaMahany found this was due to our built in retry logic for determining the current osquery version. Currently, we need to wait for that to time out before the download will continue.

We should still leave that logic in place, but can additionally check once for osqueryd file presence to bypass the lengthier (retried) version checks when the file does not exist. This speeds up the on-demand download process significantly

@RebeccaMahany RebeccaMahany added the features-improvements Features and Improvements label Aug 1, 2024
@zackattack01 zackattack01 added this pull request to the merge queue Aug 1, 2024
Merged via the queue into main with commit a4a0f2e Aug 1, 2024
30 checks passed
@zackattack01 zackattack01 deleted the zack/speedup_osq_download branch August 1, 2024 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
features-improvements Features and Improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants