mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-12 08:14:10 +00:00
fix: run user commands on high prio queue
This commit is contained in:
1 parent
f8c5a35b56
commit
58fc897ea5
6 files changed
+41
-8
No files matched your search
@@ -39,7 +39,7 @@ class RunRemoteProcess
|
||||
public function __construct(Activity $activity, bool $hide_from_output = false, bool $ignore_errors = false, $call_event_on_finish = null, $call_event_data = null)
|
||||
{
|
||||
|
||||
if ($activity->getExtraProperty('type') !== ActivityTypes::INLINE->value) {
|
||||
if ($activity->getExtraProperty('type') !== ActivityTypes::INLINE->value && $activity->getExtraProperty('type') !== ActivityTypes::COMMAND->value) {
|
||||
throw new \RuntimeException('Incompatible Activity to run a remote command.');
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user