perf: more performance improvements

This commit is contained in:
Dax Raad
2025-07-19 18:41:21 -04:00
parent 9af92b6914
commit f06cd88773
3 changed files with 10 additions and 2 deletions

View File

@@ -91,6 +91,9 @@ func main() {
stream := httpClient.Event.ListStreaming(ctx)
for stream.Next() {
evt := stream.Current().AsUnion()
if _, ok := evt.(opencode.EventListResponseEventStorageWrite); ok {
continue
}
program.Send(evt)
}
if err := stream.Err(); err != nil {