Title
#general
a

Aleksandr Maus

08/08/2022, 4:11 PM
Hi đź‘‹ I was playing with https://github.com/osquery/osquery-go library, trying to cancel the
Query
call through the context timeout/cancellation and it doesn’t seem to work. The
Query
call still waits until the query completes. Checking the ctx.Err() after the call verifies that the context was indeed cancelled. Anybody saw this before? before I dig any further
zwass

zwass

08/11/2022, 7:17 PM
I'm not sure the osquery extension API supports this. We could probably find a way to make the library return immediately, but I think osquery would still continue to execute the query.
a

Aleksandr Maus

08/12/2022, 11:30 AM
Thank you!