Add concurrency limit to service
This commit is contained in:
parent
5bea3c94c1
commit
eb87de8e68
9 changed files with 116 additions and 58 deletions
|
|
@ -3,6 +3,7 @@ export interface SyncSettings {
|
|||
token: string;
|
||||
vaultName: string;
|
||||
fetchChangesUpdateIntervalMs: number;
|
||||
uploadConcurrency: number;
|
||||
isSyncEnabled: boolean;
|
||||
}
|
||||
|
||||
|
|
@ -11,5 +12,6 @@ export const DEFAULT_SETTINGS: SyncSettings = {
|
|||
token: "",
|
||||
vaultName: "default",
|
||||
fetchChangesUpdateIntervalMs: 1000,
|
||||
uploadConcurrency: 10,
|
||||
isSyncEnabled: true,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue