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

dont start osq instance in stand by #1662

Closed

Conversation

James-Pickett
Copy link
Contributor

No description provided.

r.slogger.Log(context.TODO(), slog.LevelInfo,
"modern standby detected, skipping osquery instance start",
)
return nil
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we return nil, what happens when it wakes up?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not certain this is the right way or if we should just do some kind of wait loop, it's difficult to test. Currently all the osq runtime tests don't work on windows, so I'm trying to update those.

@directionless
Copy link
Contributor

I don't think this makes sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants