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:
|
case <-done:
|
||||||
// Cancelled, stop sending rows
|
// Cancelled, stop sending rows
|
||||||
return
|
return
|
||||||
case <-time.After(5 * time.Second):
|
case <-time.After(30 * time.Second):
|
||||||
// Timeout - consumer likely stopped reading, exit to prevent leak
|
// Timeout after 30s - consumer likely stopped reading, exit to prevent leak
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user