mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-02 22:40:22 +00:00
perf: more performance improvements
This commit is contained in:
parent
9af92b6914
commit
f06cd88773
3 changed files with 10 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue