Fix #4866: Increase snapshot row streaming timeout from 5s to 30s (#4867)

This commit is contained in:
Nathan Wallace
2025-11-13 09:14:46 +08:00
committed by GitHub
parent 4e84c29348
commit aaef09b670

View File

@@ -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
} }
} }