:wave: We stumbled upon what seems to be an issue...
# golang
a
đź‘‹ We stumbled upon what seems to be an issue with the long running queries and osquery Thrift RPC. We set the 1 minute timeout when we create Go client. The expensive query takes about 3 minutes to complete. So we get the context deadline exceeded, then for subsequent queries it either fails with context deadline, or
*osquery.ExtensionManagerQueryArgs.sql (1) field write error: i/o timeout
, or
query: out of order sequence response
As far as I remember the timeout at RPC level doesn’t stop the running query. Would appreciate some advice in case if somebody already saw that or have some suggestions how to handle this better. @seph maybe you have some insight?