Homestyx hydra
Diffusion hydra a9c16fbe4ee3

Reduce parse latency for changes pushed to hosted repositories

Description

Reduce parse latency for changes pushed to hosted repositories

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.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran, dctrwatson

Differential Revision: https://secure.phabricator.com/D7998

Details

Provenance
epriestleyAuthored on Jan 17 2014, 7:09 PM
sirocylPushed on Oct 16 2024, 5:49 AM
Parents
R1:8520d9e07068: Move more discovery responsibilities into DiscoveryEngine
Branches
Unknown
Tags
Unknown

Event Timeline