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)
Fri, May 3, 9:14 AM
Unknown Object (File)
Fri, May 3, 12:31 AM
Unknown Object (File)
Sat, Apr 27, 11:24 PM
Unknown Object (File)
Sat, Apr 27, 11:24 PM
Unknown Object (File)
Thu, Apr 25, 12:59 AM
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
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