add more options to concurrency
This commit is contained in:
parent
18cb8ba413
commit
3574b56acb
@ -550,13 +550,16 @@ export class RemotelySaveSettingTab extends PluginSettingTab {
|
|||||||
new Setting(concurrencyDiv)
|
new Setting(concurrencyDiv)
|
||||||
.setName("Concurrency")
|
.setName("Concurrency")
|
||||||
.setDesc(
|
.setDesc(
|
||||||
"How many files do you want to download or upload in parallel at most?"
|
"How many files do you want to download or upload in parallel at most? By default it's set to 5. If you meet any problems such as rate limit, you can reduce the concurrency to a lower value."
|
||||||
)
|
)
|
||||||
.addDropdown((dropdown) => {
|
.addDropdown((dropdown) => {
|
||||||
dropdown.addOption("1", "1");
|
dropdown.addOption("1", "1");
|
||||||
dropdown.addOption("2", "2");
|
dropdown.addOption("2", "2");
|
||||||
dropdown.addOption("5", "5");
|
dropdown.addOption("3", "3");
|
||||||
|
dropdown.addOption("5", "5 (default)");
|
||||||
dropdown.addOption("10", "10");
|
dropdown.addOption("10", "10");
|
||||||
|
dropdown.addOption("15", "15");
|
||||||
|
dropdown.addOption("20", "20");
|
||||||
|
|
||||||
dropdown
|
dropdown
|
||||||
.setValue(`${this.plugin.settings.concurrency}`)
|
.setValue(`${this.plugin.settings.concurrency}`)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user