Revert "fix(server): wrap read-modify-write apis with distributed lock (#5979)"

This reverts commit 34f892b05b.
This commit is contained in:
LongYinan
2024-03-15 16:55:48 +08:00
parent a24320da68
commit bc465f9704
20 changed files with 79 additions and 412 deletions

View File

@@ -54,10 +54,3 @@ export class SocketIoRedis extends Redis {
super({ ...config.plugins.redis, db: (config.plugins.redis?.db ?? 0) + 3 });
}
}
@Injectable()
export class MutexRedis extends Redis {
constructor(config: Config) {
super({ ...config.plugins.redis, db: (config.plugins.redis?.db ?? 0) + 4 });
}
}