Skip to content

Commit fef1515

Browse files
authored
Increase retries (#368)
1 parent c8b4511 commit fef1515

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/datastore/file/EncryptedFileStore.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { DataStore } from '../DataStore';
1010
import { decrypt, encrypt } from './Encryption';
1111

1212
const LOCK_OPTIONS_SYNC: LockOptions = { stale: 10_000 };
13-
const LOCK_OPTIONS: LockOptions = { ...LOCK_OPTIONS_SYNC, retries: { retries: 15, minTimeout: 10, maxTimeout: 500 } };
13+
const LOCK_OPTIONS: LockOptions = { ...LOCK_OPTIONS_SYNC, retries: { retries: 20, minTimeout: 50, maxTimeout: 1000 } };
1414

1515
export class EncryptedFileStore implements DataStore {
1616
private readonly log: Logger;

0 commit comments

Comments
 (0)