Add sync driver for queue messages (#3070)

* Add sync driver for queue messages

* rename moduleRef

* use switch instead
This commit is contained in:
Weiko
2023-12-19 13:30:40 +01:00
committed by GitHub
parent fff51a2d91
commit e799c84233
10 changed files with 83 additions and 23 deletions

View File

@ -148,7 +148,7 @@ export class EnvironmentService {
getMessageQueueDriverType(): MessageQueueDriverType {
return (
this.configService.get<MessageQueueDriverType>('MESSAGE_QUEUE_TYPE') ??
MessageQueueDriverType.PgBoss
MessageQueueDriverType.Sync
);
}