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
F15536269: D7998.id18107.diff
Thu, Apr 24, 8:47 AM
F15536268: D7998.diff
Thu, Apr 24, 8:46 AM
F15535405: D7998.id18107.diff
Thu, Apr 24, 5:03 AM
F15506930: D7998.diff
Tue, Apr 15, 3:10 PM
F15414112: D7998.diff
Mar 19 2025, 11:13 PM
F15397540: D7998.id18096.diff
Mar 16 2025, 8:55 PM
F15378434: D7998.id18107.diff
Mar 13 2025, 2:28 PM
F15353280: D7998.diff
Mar 10 2025, 8:46 PM
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