mirror of
https://github.com/turbot/steampipe.git
synced 2025-12-19 09:58:53 -05:00
This commit is contained in:
@@ -211,8 +211,8 @@ func SnapshotToQueryResult[T queryresult.TimingContainer](snap *steampipeconfig.
|
||||
case <-done:
|
||||
// Cancelled, stop sending rows
|
||||
return
|
||||
case <-time.After(5 * time.Second):
|
||||
// Timeout - consumer likely stopped reading, exit to prevent leak
|
||||
case <-time.After(30 * time.Second):
|
||||
// Timeout after 30s - consumer likely stopped reading, exit to prevent leak
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user