diff --git a/web-api/src/business/useCaseHelper/acquireLock.ts b/web-api/src/business/useCaseHelper/acquireLock.ts index 3b9c281aedb..394a1fef98a 100644 --- a/web-api/src/business/useCaseHelper/acquireLock.ts +++ b/web-api/src/business/useCaseHelper/acquireLock.ts @@ -143,8 +143,8 @@ export function withLocking( applicationContext: any, options: any, ) => - | Promise<{ identifiers: string[]; ttl?: number; retries?: number }> - | { identifiers: string[]; ttl?: number; retries?: number }, + | Promise<{ identifiers: string[]; ttl?: number }> + | { identifiers: string[]; ttl?: number }, onLockError?: TOnLockError, ): ( applicationContext: any, @@ -156,10 +156,7 @@ export function withLocking( options: InteractorInput, authorizedUser: UnknownAuthUser, ) { - const { identifiers, retries, ttl } = await getLockInfo( - applicationContext, - options, - ); + const { identifiers, ttl } = await getLockInfo(applicationContext, options); await acquireLock({ applicationContext, @@ -167,7 +164,6 @@ export function withLocking( identifiers, onLockError, options, - retries, ttl, }); diff --git a/web-api/src/business/useCases/user/updateUserContactInformationInteractor.ts b/web-api/src/business/useCases/user/updateUserContactInformationInteractor.ts index 699cf4e4aae..0994799fb13 100644 --- a/web-api/src/business/useCases/user/updateUserContactInformationInteractor.ts +++ b/web-api/src/business/useCases/user/updateUserContactInformationInteractor.ts @@ -207,7 +207,6 @@ export const determineEntitiesToLock = async ( return { identifiers: cases?.map(item => `case|${item.docketNumber}`), - retries: 10, ttl: 900, }; };