Skip to content

Commit

Permalink
Fix default values from Configuring.md and Scaling.md
Browse files Browse the repository at this point in the history
The "new-workflow-poll-rate" and "max-workflow-launch-count" entries mention the wrong default value.
  • Loading branch information
AlexITC committed Mar 28, 2024
1 parent 027de62 commit 5bed3ae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions docs/Configuring.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,18 +134,18 @@ system.max-concurrent-workflows = 5000

**New Workflow Poll Rate**

Cromwell will look for new workflows to start on a regular interval, configured as a number of seconds. You can change the polling rate from the default `2` seconds by editing the value:
Cromwell will look for new workflows to start on a regular interval, configured as a number of seconds. You can change the polling rate from the default `20` seconds by editing the value:

```hocon
system.new-workflow-poll-rate = 2
system.new-workflow-poll-rate = 20
```

**Max Workflow Launch Count**

On every poll, Cromwell will take at limited number of new submissions, provided there are new workflows to launch and the `system.max-concurrent-workflows` number has not been reached. While the default is to launch up to `50` workflows, you can override this by setting:
On every poll, Cromwell will take at limited number of new submissions, provided there are new workflows to launch and the `system.max-concurrent-workflows` number has not been reached. While the default is to launch up to `1` workflow, you can override this by setting:

```hocon
system.max-workflow-launch-count = 50
system.max-workflow-launch-count = 1
```

***Abort configuration***
Expand Down
2 changes: 1 addition & 1 deletion docs/Scaling.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ system {
# Cromwell will launch up to N submitted workflows at a time, regardless of how many open workflow slots exist
# Set this to 0 for a non-runner.
max-workflow-launch-count = 50
max-workflow-launch-count = 1
# The maximum number of workflows to run concurrently.
# Set this to 0 for a non-runner.
Expand Down

0 comments on commit 5bed3ae

Please sign in to comment.