1
0
Fork 0
mirror of synced 2024-10-04 03:54:37 +13:00

Adding back compaction.

This commit is contained in:
mike12345567 2022-12-07 18:09:17 +00:00
parent bf0a788fa1
commit b3e5483eca

View file

@ -118,6 +118,8 @@ async function deployApp(deployment: any, userId: string) {
}
replication = new dbCore.Replication(config)
const devDb = context.getDevAppDB()
console.log("Compacting development DB")
await devDb.compact()
console.log("Replication object created")
await replication.replicate(replication.appReplicateOpts())
console.log("replication complete.. replacing app meta doc")