avoid unnecessary nextTick callbacks in bubble-timeline.ts
This commit is contained in:
@@ -128,11 +128,11 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
|
|||||||
return true;
|
return true;
|
||||||
});
|
});
|
||||||
|
|
||||||
process.nextTick(() => {
|
|
||||||
if (me) {
|
if (me) {
|
||||||
|
process.nextTick(() => {
|
||||||
this.activeUsersChart.read(me);
|
this.activeUsersChart.read(me);
|
||||||
}
|
|
||||||
});
|
});
|
||||||
|
}
|
||||||
|
|
||||||
return await this.noteEntityService.packMany(timeline, me);
|
return await this.noteEntityService.packMany(timeline, me);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user