CLI: Concurrent Jobs
The CLI references “skysync.” This is expected.
Concurrent jobs is the number of transfers that will operate in parallel. The default number of concurrent jobs is 6; the maximum number of concurrent jobs is 20. It is very important to note that increasing the number of concurrent jobs does not always equal faster/better transfer performance. There is a long list of concepts that have to be taken into account.
Parameters
Updating the concurrent jobs setting is done using the following two parameters. At least one of the parameters must be used in update command, and the values must be greater than 0.
Parameter | Description |
---|---|
current | Current number of transfers that will operate in parallel |
max | Maximum number of transfers that will operate in parallel |
List Concurrent Jobs
Command
skysync-cli performance concurrent_transfers show --output-json
Example result
[
{
"concurrent_jobs": {
"current": 6,
"max": 8
}
}
]
Updating the Current Value
Command
skysync-cli performance concurrent_transfers update --current={#}
or
Command with examples
Updating the Max Value
Command
or
Command with examples
Updating Both Parameters
There are two commands that can be used to update both parameters. Note that neither option is required, but at least one option must be included. The current value cannot be larger than the max value.
Command
or
Command with examples
When concurrent jobs are set through the CLI, the changes will be reflected on the Performance page in the Settings once the page is refreshed.