Add max retries for fs.promises.rm (#3351)
This commit is contained in:
parent
5df83b030d
commit
f56d25f1c4
3 changed files with 19 additions and 9 deletions
6
index.d.ts
vendored
6
index.d.ts
vendored
|
|
@ -538,7 +538,8 @@ declare namespace WAWebJS {
|
|||
public dataPath?: string;
|
||||
constructor(options?: {
|
||||
clientId?: string,
|
||||
dataPath?: string
|
||||
dataPath?: string,
|
||||
rmMaxRetries?: number
|
||||
})
|
||||
}
|
||||
|
||||
|
|
@ -552,7 +553,8 @@ declare namespace WAWebJS {
|
|||
store: Store,
|
||||
clientId?: string,
|
||||
dataPath?: string,
|
||||
backupSyncIntervalMs: number
|
||||
backupSyncIntervalMs: number,
|
||||
rmMaxRetries?: number
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue