Skip to content

Commit

Permalink
Extended Client Event GUI to allow specifying max_wait (Velocidex#2821)
Browse files Browse the repository at this point in the history
  • Loading branch information
scudette authored Jul 19, 2023
1 parent 497ead6 commit 9ca0ff0
Show file tree
Hide file tree
Showing 13 changed files with 514 additions and 198 deletions.
45 changes: 39 additions & 6 deletions artifacts/proto/artifact.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions artifacts/proto/artifact.proto
Original file line number Diff line number Diff line change
Expand Up @@ -319,4 +319,9 @@ message Resources {
// Default resource use for the entire collection.
uint64 max_rows = 2;
uint64 max_upload_bytes = 3;

// Batching control
uint64 max_batch_wait = 7;
uint64 max_batch_rows = 8;
uint64 max_batch_rows_buffer = 9;
}
10 changes: 8 additions & 2 deletions artifacts/testdata/server/testcases/artifacts.out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,10 @@ SELECT *, basename(path=file_store(path=vfs_path)) FROM uploads(client_id='C.4f5
"comment": ""
}
]
}
},
"max_batch_wait": 0,
"max_batch_rows": 0,
"max_batch_rows_buffer": 0
}
],
"cpu_limit": 0,
Expand Down Expand Up @@ -105,7 +108,10 @@ SELECT *, basename(path=file_store(path=vfs_path)) FROM uploads(client_id='C.4f5
"comment": ""
}
]
}
},
"max_batch_wait": 0,
"max_batch_rows": 0,
"max_batch_rows_buffer": 0
}
],
"cpu_limit": 0,
Expand Down
Loading

0 comments on commit 9ca0ff0

Please sign in to comment.