Homec4science

Reduce parse latency for changes pushed to hosted repositories

Authored by epriestley <git@epriestley.com> on Jan 18 2014, 01:09.

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

Committed
epriestley <git@epriestley.com>Jan 18 2014, 01:09
Pushed
aubortJan 31 2017, 17:16
Parents
rPH8520d9e07068: Move more discovery responsibilities into DiscoveryEngine
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHa9c16fbe4ee3: Reduce parse latency for changes pushed to hosted repositories (authored by epriestley <git@epriestley.com>).Jan 18 2014, 01:09