Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

docs(ssh): name SSH_MUX_ORPHAN_REAP_ENABLED in mux cleanup docblocks

Andras Bacsaibc3ff145675d
diff --git a/app/Jobs/CleanupStaleMultiplexedConnections.php b/app/Jobs/CleanupStaleMultiplexedConnections.php
index 3f0d275403..3162ae9c41 100644
--- a/app/Jobs/CleanupStaleMultiplexedConnections.php
+++ b/app/Jobs/CleanupStaleMultiplexedConnections.php
@@ -154,9 +154,10 @@ class CleanupStaleMultiplexedConnections implements ShouldQueue
}
/**
- * Reap a detected orphan process. When orphan reaping is disabled (the
- * default), the orphan is only logged — a dry-run mode that lets operators
- * verify what would be killed before enabling it for real.
+ * Reap a detected orphan process. When orphan reaping is disabled
+ * (SSH_MUX_ORPHAN_REAP_ENABLED=false, the default), the orphan is only
+ * logged — a dry-run mode that lets operators verify what would be killed
+ * before enabling it for real.
*
* @param array{pid: string, ppid: string, etimes: int, args: string} $process
*/
@@ -255,8 +256,9 @@ class CleanupStaleMultiplexedConnections implements ShouldQueue
/**
* Close and delete a stale mux socket file. When orphan reaping is disabled
- * (the default), the file is only logged — a dry-run mode that lets operators
- * verify what would be removed before enabling it for real.
+ * (SSH_MUX_ORPHAN_REAP_ENABLED=false, the default), the file is only logged —
+ * a dry-run mode that lets operators verify what would be removed before
+ * enabling it for real.
*/
private function removeMultiplexFile(string $muxFile, string $reason): void
{