1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-02 03:32:42 +01:00
phorge-phorge/src/infrastructure/daemon
epriestley 454a762562 Queue search indexing tasks at a new PRIORITY_INDEX, not PRIORITY_IMPORT
Summary:
Depends on D20175. Ref T12425. Ref T13253. Currently, importing commits can stall search index rebuilds, since index rebuilds use an older priority from before T11677 and weren't really updated for D16585.

In general, we'd like to complete all indexing tasks before continuing repository imports. A possible exception is if you rebuild an entire index with `bin/search index --rebuild-the-world`, but we could queue those at a separate lower priority if issues arise.

Test Plan: Ran some search indexing through the queue.

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T13253, T12425

Differential Revision: https://secure.phabricator.com/D20177
2019-02-15 14:16:28 -08:00
..
contentsource Modularize content sources 2016-03-26 11:59:45 -07:00
control Extend from Phobject 2015-06-15 18:02:27 +10:00
garbagecollector Add a "lock log" for debugging where locks are being held 2018-03-05 17:55:34 -08:00
overseer Improve daemon "waiting" message, config reload behavior 2017-03-24 08:32:08 -07:00
workers Queue search indexing tasks at a new PRIORITY_INDEX, not PRIORITY_IMPORT 2019-02-15 14:16:28 -08:00
PhabricatorDaemon.php When already running as the daemon user, don't "sudo" daemon commands 2016-08-11 16:41:19 -07:00