@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.

When available, use async_signals in Phabricator

Summary: Ref T9640. See D17200 for the analogous change in libphutil.

Test Plan: See D17200.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T9640

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

+10 -2
+5 -1
scripts/daemon/launch_daemon.php
··· 5 5 // script, except it loads the Phabricator environment and adds some Phabricator 6 6 // specific flags. 7 7 8 - declare(ticks = 1); 8 + if (function_exists('pcntl_async_signals')) { 9 + pcntl_async_signals(true); 10 + } else { 11 + declare(ticks = 1); 12 + } 9 13 10 14 $root = dirname(dirname(dirname(__FILE__))); 11 15 require_once $root.'/scripts/__init_script__.php';
+5 -1
scripts/ssh/ssh-connect.php
··· 7 7 // In some cases, Subversion sends us SIGTERM. If we don't catch the signal and 8 8 // react to it, we won't run object destructors by default and thus won't clean 9 9 // up temporary files. Declare ticks so we can install a signal handler. 10 - declare(ticks=1); 10 + if (function_exists('pcntl_async_signals')) { 11 + pcntl_async_signals(true); 12 + } else { 13 + declare(ticks = 1); 14 + } 11 15 12 16 $root = dirname(dirname(dirname(__FILE__))); 13 17 require_once $root.'/scripts/__init_script__.php';