HomePhorge

When waiting for long-running Harbormaster futures to resolve, close idle…

Description

When waiting for long-running Harbormaster futures to resolve, close idle database connections

Summary:
Ref T13216. See PHI916. Harbormaster builds may be long-running, particularly if they effectively wrap ssh ... ./run-huge-build.sh. If we spend more than a few seconds waiting for futures to resolve, close idle database connections.

The general goal here is to reduce the held connection load for installs with a very large number of test runners.

Test Plan: Added debugging code to phlog() closures, saw connections closed while running builds.

Reviewers: amckinley

Reviewed By: amckinley

Subscribers: PHID-OPKG-gm6ozazyms6q6i22gyam

Maniphest Tasks: T13216

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

Details

Provenance
epriestleyAuthored on Oct 11 2018, 1:34 PM
themackabuPushed on Tue, Mar 25, 8:07 PM
Parents
rPa0d4b6da4b60: Support (but do not actually enable) a maximum file size limit for Git…
Branches
Unknown
Tags
Unknown

Event Timeline