Page MenuHomePhabricator

Reduce parse latency for changes pushed to hosted repositories
ClosedPublic

Authored by epriestley on Jan 17 2014, 9:41 PM.
Tags
None
Referenced Files
F18383329: D7998.diff
Thu, Aug 28, 10:54 PM
F18112779: D7998.id.diff
Tue, Aug 12, 8:28 PM
F18093217: D7998.id18107.diff
Aug 7 2025, 4:30 PM
F18089595: D7998.id.diff
Aug 6 2025, 11:50 AM
F18088925: D7998.id18096.diff
Aug 6 2025, 10:04 AM
F18083564: D7998.diff
Aug 5 2025, 10:39 AM
F17795045: D7998.id.diff
Jul 25 2025, 12:06 AM
F17752089: D7998.diff
Jul 22 2025, 6:29 AM
Subscribers
Tokens
"Like" token, awarded by dctrwatson.

Details

Summary

Currently, we can sit in a sleep() for up to 15 seconds (or longer, in some cases), even if there's a parse request.

Try polling the DB every second to see if we should wake up instead. This might or might not produce significant improvements, but seems OK to try and see.

Also a small fix for logging branch names with % in them, etc.

Test Plan

Ran phd debug pulllocal and pushed commits, saw them parse within a second.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped