fix(server): commit import not finishing correctly (#2153)
* fix(server): commit import not finishing correctly * awaiting last batch added * minor fix
This commit is contained in:
committed by
GitHub
parent
a489a7bb9a
commit
663eaac5a2
@@ -564,6 +564,9 @@ const loadAllObjectsFromParent = async (
|
||||
batchPromises = []
|
||||
}
|
||||
}
|
||||
|
||||
// If any remaining promises - await them
|
||||
await Promise.all(batchPromises)
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user