use allSettled

This commit is contained in:
Andras Schmelczer 2025-11-23 15:09:35 +00:00
parent e51fcf296f
commit c4f40b3549
5 changed files with 15 additions and 22 deletions

View file

@ -183,7 +183,7 @@ export class Database {
const currentPromises = entry.updates;
entry.updates = [...currentPromises, promise];
await Promise.all(currentPromises);
await Promise.allSettled(currentPromises);
return entry;
}