Adding back compaction.

This commit is contained in:
mike12345567 2022-12-07 18:09:17 +00:00
parent bf0a788fa1
commit b3e5483eca
1 changed files with 2 additions and 0 deletions

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")