Page MenuHomePhabricator

D16855.diff
No OneTemporary

D16855.diff

diff --git a/src/applications/aphlict/management/PhabricatorAphlictManagementWorkflow.php b/src/applications/aphlict/management/PhabricatorAphlictManagementWorkflow.php
--- a/src/applications/aphlict/management/PhabricatorAphlictManagementWorkflow.php
+++ b/src/applications/aphlict/management/PhabricatorAphlictManagementWorkflow.php
@@ -416,6 +416,14 @@
while (true) {
global $g_future;
$g_future = new ExecFuture('exec %C', $command);
+
+ // Discard all output the subprocess produces: it writes to the log on
+ // disk, so we don't need to send the output anywhere and can just
+ // throw it away.
+ $g_future
+ ->setStdoutSizeLimit(0)
+ ->setStderrSizeLimit(0);
+
$g_future->resolve();
// If the server exited, wait a couple of seconds and restart it.

File Metadata

Mime Type
text/plain
Expires
Fri, Mar 21, 9:22 AM (22 h, 35 m ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7382827
Default Alt Text
D16855.diff (849 B)

Event Timeline