feat(pipelines): list commit logs 使用直接订阅。
替代了先查询再订阅,确保数据不丢失。
This commit is contained in:
@ -19,15 +19,7 @@ import { ListLogsConsumer } from './list-logs.consumer';
|
||||
name: LIST_LOGS_TASK,
|
||||
}),
|
||||
],
|
||||
providers: [
|
||||
ReposResolver,
|
||||
ReposService,
|
||||
ListLogsConsumer,
|
||||
{
|
||||
provide: LIST_LOGS_PUB_SUB,
|
||||
useValue: new PubSub(),
|
||||
},
|
||||
],
|
||||
providers: [ReposResolver, ReposService, ListLogsConsumer],
|
||||
exports: [ReposService],
|
||||
})
|
||||
export class ReposModule {}
|
||||
|
Reference in New Issue
Block a user