v3.0.3
- [fix] Avoid calling
ensureIndexes()
andensureCaps()
for each datastore instantiation which adds a considerable
overhead in some circumstances. It is now done at application startup and can be controlled with
mongoDb.morphia.ensureCapsAtStartup
andmongoDb.morphia.ensureIndexesAtStartup
config options.