fix missing concurrency limit when resolving note attachments
This commit is contained in:
parent
4776292cee
commit
7023aeee33
1 changed files with 1 additions and 1 deletions
|
|
@ -758,7 +758,7 @@ export class ApNoteService implements OnModuleInit {
|
|||
const results = await promiseMap(attachments.values(), async attach => {
|
||||
attach.sensitive ??= note.sensitive;
|
||||
return await this.resolveImage(actor, attach);
|
||||
});
|
||||
}, { limit: 2 });
|
||||
|
||||
// Process results
|
||||
let hasFileError = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue