fix(mpc-service): 注册DistributedLockService到InfrastructureModule
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
10b25e222e
commit
b1508f1a5a
|
|
@ -23,6 +23,9 @@ import { EventConsumerService } from './messaging/kafka/event-consumer.service';
|
|||
import { BackupClientService } from './external/backup';
|
||||
import { BlockchainClientService } from './external/blockchain';
|
||||
|
||||
// Redis
|
||||
import { DistributedLockService } from './redis/lock/distributed-lock.service';
|
||||
|
||||
@Global()
|
||||
@Module({
|
||||
imports: [
|
||||
|
|
@ -43,6 +46,9 @@ import { BlockchainClientService } from './external/blockchain';
|
|||
// External Services
|
||||
BackupClientService,
|
||||
BlockchainClientService,
|
||||
|
||||
// Redis (分布式锁)
|
||||
DistributedLockService,
|
||||
],
|
||||
exports: [
|
||||
PrismaService,
|
||||
|
|
@ -50,6 +56,7 @@ import { BlockchainClientService } from './external/blockchain';
|
|||
EventConsumerService,
|
||||
BackupClientService,
|
||||
BlockchainClientService,
|
||||
DistributedLockService,
|
||||
],
|
||||
})
|
||||
export class InfrastructureModule {}
|
||||
|
|
|
|||
Loading…
Reference in New Issue