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
Unknown Object (File)
Mon, Apr 22, 5:01 PM
Unknown Object (File)
Thu, Apr 11, 10:30 AM
Unknown Object (File)
Mon, Apr 8, 6:29 PM
Unknown Object (File)
Mon, Mar 25, 10:57 PM
Unknown Object (File)
Mar 12 2024, 12:40 AM
Unknown Object (File)
Feb 20 2024, 10:45 PM
Unknown Object (File)
Feb 9 2024, 5:00 PM
Unknown Object (File)
Feb 6 2024, 8:42 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