Adding back compaction.
This commit is contained in:
parent
936582bee7
commit
5f49d71b8b
|
@ -118,6 +118,8 @@ async function deployApp(deployment: any, userId: string) {
|
||||||
}
|
}
|
||||||
replication = new dbCore.Replication(config)
|
replication = new dbCore.Replication(config)
|
||||||
const devDb = context.getDevAppDB()
|
const devDb = context.getDevAppDB()
|
||||||
|
console.log("Compacting development DB")
|
||||||
|
await devDb.compact()
|
||||||
console.log("Replication object created")
|
console.log("Replication object created")
|
||||||
await replication.replicate(replication.appReplicateOpts())
|
await replication.replicate(replication.appReplicateOpts())
|
||||||
console.log("replication complete.. replacing app meta doc")
|
console.log("replication complete.. replacing app meta doc")
|
||||||
|
|
Loading…
Reference in New Issue