Bug 262221 - [commits.webkit.org] Throttle repository sync on boot
Summary: [commits.webkit.org] Throttle repository sync on boot
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Jonathan Bedard
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-09-27 15:28 PDT by Jonathan Bedard
Modified: 2023-09-27 16:47 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Bedard 2023-09-27 15:28:39 PDT
Syncing our repository is a relatively expensive task. We need to do this sync on pod restart, but we don't need that sync to be done imiediately. Allow callers to throttle their own sync so that sync doesn't saturate the CPU when a pod is initially brought up.
Comment 1 Radar WebKit Bug Importer 2023-09-27 15:29:12 PDT
<rdar://problem/116145049>
Comment 2 Jonathan Bedard 2023-09-27 15:32:27 PDT
Pull request: https://github.com/WebKit/WebKit/pull/18312
Comment 3 EWS 2023-09-27 16:46:59 PDT
Committed 268546@main (c8429741370d): <https://commits.webkit.org/268546@main>

Reviewed commits have been landed. Closing PR #18312 and removing active labels.