mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-14 08:18:08 +00:00
Refactoring: extract process handling from async job.
This commit is contained in:
1 parent
34c9265aa9
commit
29fb40bd16
6 files changed
+27
-39
No files matched your search
@@ -9,11 +9,11 @@ use Spatie\LaravelData\Data;
|
||||
class RemoteProcessArgs extends Data
|
||||
{
|
||||
public function __construct(
|
||||
protected string $destination,
|
||||
protected string $command,
|
||||
protected int $port = 22,
|
||||
protected string $user = 'root',
|
||||
protected string $type = ActivityTypes::COOLIFY_PROCESS->value,
|
||||
protected string $status = ProcessStatus::HOLDING->value,
|
||||
public string $destination,
|
||||
public string $command,
|
||||
public int $port,
|
||||
public string $user,
|
||||
public string $type = ActivityTypes::COOLIFY_PROCESS->value,
|
||||
public string $status = ProcessStatus::HOLDING->value,
|
||||
){}
|
||||
}
|
||||
Reference in new issue
Block a user