Simplify syncer code.#879
Conversation
General PR Review: Simplify syncer code.Blocking Issues: 0 | Suggestions: 0 | Threads Resolved: 0 Review SummaryThis PR removes the Security IssuesNone found. Correctness IssuesNone found. SuggestionsNone. |
| return err | ||
| } | ||
|
|
||
| // Force a checkpoint to clear completed actions & entitlement graph in sync_token. |
There was a problem hiding this comment.
🟡 Suggestion: This condition s.workerCount > 0 is now always true since workerCount is guaranteed >= 1 after this PR. Consider changing to s.workerCount > 1 to preserve sequential-mode progress reporting for single-worker syncs, or remove the condition entirely.
Use the parallel syncer for all syncs. Default to 1 worker so behavior is the same.
3568166 to
093074b
Compare
Use the parallel syncer for all syncs. Default to 1 worker so behavior is the same.