Commit c20df324 authored by nanahira's avatar nanahira

Update console-api/src/lock/lock.service.ts

parent 3a88a7ee
Pipeline #39333 passed with stages
in 4 minutes and 41 seconds
...@@ -3,6 +3,16 @@ import { Injectable } from '@nestjs/common'; ...@@ -3,6 +3,16 @@ import { Injectable } from '@nestjs/common';
import { ConfigService } from '@nestjs/config'; import { ConfigService } from '@nestjs/config';
import Redis from 'ioredis'; import Redis from 'ioredis';
class Redlock {
constructor(private redis: any[]) {}
async quit() {
}
async using(...args: any[]) {}
}
@Injectable() @Injectable()
export class LockService { export class LockService {
constructor(private config: ConfigService) {} constructor(private config: ConfigService) {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment