use allSettled

This commit is contained in:
Andras Schmelczer 2025-11-23 15:09:35 +00:00
parent 83c15a77c3
commit 17fa584ea1
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;
}