@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Close all DB connections when Daemons sleep

Summary: Fixes T2933

Test Plan:
As guided by Evan - by setting $tasks = array(); in PhabricatorTaskmasterDaemon.php
and running 'phd debug taskmaster' and 'show full processlist' on mysql as root. No extra connections
detected.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Maniphest Tasks: T2933

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

authored by

deedydas and committed by
epriestley
d028790d 9bbce8de

+5
+5
src/infrastructure/daemon/PhabricatorDaemon.php
··· 9 9 $root = dirname($phabricator); 10 10 require_once $root.'/scripts/__init_script__.php'; 11 11 } 12 + 13 + protected function willSleep($duration) { 14 + LiskDAO::closeAllConnections(); 15 + return; 16 + } 12 17 }