From cfd430e31c2e5fabf439de2f5a26a45810c2d52e Mon Sep 17 00:00:00 2001 From: HorizonCode Date: Fri, 10 Jan 2025 01:20:21 +0100 Subject: [PATCH] remove mutex options --- test/mutex.test.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/test/mutex.test.ts b/test/mutex.test.ts index 67202b5..fa0dfa8 100644 --- a/test/mutex.test.ts +++ b/test/mutex.test.ts @@ -4,12 +4,7 @@ import { MutexLock } from "../src/MutexLock"; test( "redis mutex", async () => { - const mutexLock = await MutexLock.create({ - redis: { - host: "127.0.0.1", - port: 6379, - }, - }); + const mutexLock = await MutexLock.create(); const testLock = async () => { const release = await mutexLock.obtainLock("test");