Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15416119
D16855.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
849 B
Referenced Files
None
Subscribers
None
D16855.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D16855: Discard stdout/stderr from the aphlict subprocess when running in daemon (normal) mode
Attached
Detach File
Event Timeline
Log In to Comment