Skip to content

Commit 5ad8dbf

Browse files
committed
fix(backend/test): MisskeyIO#727 以降e2eテストがたまに失敗する問題を修正
1 parent 6c732d1 commit 5ad8dbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/backend/src/queue/processors/InboxProcessorService.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export class InboxProcessorService implements OnApplicationShutdown {
5151
private queueLoggerService: QueueLoggerService,
5252
) {
5353
this.logger = this.queueLoggerService.logger.createSubLogger('inbox');
54-
this.updateInstanceQueue = new CollapsedQueue(60 * 1000 * 5, this.collapseUpdateInstanceJobs, this.performUpdateInstance);
54+
this.updateInstanceQueue = new CollapsedQueue(process.env.NODE_ENV !== 'test' ? 60 * 1000 * 5 : 0, this.collapseUpdateInstanceJobs, this.performUpdateInstance);
5555
}
5656

5757
@bindThis

0 commit comments

Comments
 (0)