Split worktree updates and only send 256 entries at a time

This commit is contained in:
Antonio Scandurra 2022-06-30 14:06:41 +02:00
parent 5df0a6a425
commit 09bb3ddeb8
5 changed files with 88 additions and 70 deletions

View file

@ -195,6 +195,7 @@ message UpdateWorktree {
repeated Entry updated_entries = 4;
repeated uint64 removed_entries = 5;
uint64 scan_id = 6;
bool is_last_update = 7;
}
message CreateProjectEntry {
@ -772,6 +773,7 @@ message Worktree {
repeated DiagnosticSummary diagnostic_summaries = 4;
bool visible = 5;
uint64 scan_id = 6;
bool is_complete = 7;
}
message File {