Skip to content

Commit 8f221ee

Browse files
committed
update worker groups
1 parent 003f785 commit 8f221ee

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

docs/core_concepts/9_worker_groups/index.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Windmill allows you to run your scripts and flows on different machines with dif
99

1010
Individual scripts saved on a workspace and inline scripts of a flow can be assigned a custom worker group. By default, they are assigned the worker group that correspond to their languages.
1111

12-
Workers can be part of different worker groups. The default worker groups a worker is part of are:
12+
Workers can be assigned to different worker groups at the same time. The default worker groups a worker is part of are:
1313

1414
- `dependency`: Where dependency jobs are run.
1515
- `deno`: The default worker group for deno scripts.
@@ -34,3 +34,14 @@ To make custom tags selectable from the UI, you need to pass the following env v
3434
```
3535
CUSTOM_TAGS=light
3636
```
37+
38+
## How to assign a custom worker group to a script
39+
40+
For scripts saved on the script editor, select the corresponding worker group tag in the metadata section.
41+
42+
![Worker group tag](./select_script_builder.png)
43+
44+
For scripts inlined in the flow editor, select it in the module header:
45+
![Worker group tag](./select_flow_builder.png)
46+
47+
If no worker group is assigned to a script, it will be assigned the default worker group for its language.
Loading
Loading

0 commit comments

Comments
 (0)