diff --git a/src/utils/redisLock.ts b/src/utils/redisLock.ts index 52bb460..e02404f 100644 --- a/src/utils/redisLock.ts +++ b/src/utils/redisLock.ts @@ -37,6 +37,12 @@ export async function acquireLock(key: string, timeout = defaultTimeout): Promis } } catch (e) { Logger.error(e as string); + + // Fallback to allowing + return { + status: true, + unlock: () => void 0 + }; } return {