1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-02-25 21:19:21 +01:00
phorge-phorge/src/applications/search/index
epriestley 43cf4edfb1 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
2018-11-21 07:53:40 -08:00
..
PhabricatorFulltextEngine.php Separate fulltext engine extensions into "enrich" and "index" phases 2017-09-01 09:40:11 -07:00
PhabricatorFulltextEngineExtension.php Separate fulltext engine extensions into "enrich" and "index" phases 2017-09-01 09:40:11 -07:00
PhabricatorFulltextEngineExtensionModule.php Redesign Config Application 2016-08-29 15:49:49 -07:00
PhabricatorIndexEngine.php When waiting for long-running Harbormaster futures to resolve, close idle database connections 2018-11-21 07:53:40 -08:00
PhabricatorIndexEngineExtension.php Lift Conpherence indexing up out of the Fulltext index 2015-12-21 17:25:05 -08:00
PhabricatorIndexEngineExtensionModule.php Redesign Config Application 2016-08-29 15:49:49 -07:00
PhabricatorSearchAbstractDocument.php Extend from Phobject 2015-06-15 18:02:27 +10:00