Worker vs Master Action

#1

Is there a way to know if my command will be executed on a master or worker node before executing it?

0 Likes

#2

If there is a queue for the action, it will run on a worker node. If the command runs synchronously (returns the result when run), it will run on the master node.

If you want to run a synchronous command on a worker node, you can tunnel directly to a worker and then run the command.

1 Like

#3

While I understand that, this may be a little nuanced for an inexperienced user, to know if a queue exists for an action. Is there nothing to do something like the following?
Action.getQueue('commandString')

0 Likes

#4

Oh ok, you mean is there a way to determine it programmatically. I don’t believe there’s a way to do that.

0 Likes