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, Nov 18, 3:44 PM
Unknown Object (File)
Mon, Nov 18, 7:29 AM
Unknown Object (File)
Sat, Nov 16, 5:59 PM
Unknown Object (File)
Fri, Nov 15, 1:05 PM
Unknown Object (File)
Fri, Nov 15, 1:05 PM
Unknown Object (File)
Fri, Nov 15, 9:55 AM
Unknown Object (File)
Sun, Nov 10, 2:12 AM
Unknown Object (File)
Fri, Nov 8, 11:33 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