mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-11 12:17:44 +02:00
UBERF-6374: Improve server logging and improve startup performance (#5210)
This commit is contained in:
@@ -268,7 +268,7 @@ async function fetchModelFromMongo (
|
||||
|
||||
const txAdapter = await createMongoTxAdapter(ctx, hierarchy, mongodbUri, workspaceId, modelDb)
|
||||
|
||||
const model = await ctx.with('get-model', {}, async () => await txAdapter.getModel())
|
||||
const model = await ctx.with('get-model', {}, async (ctx) => await txAdapter.getModel(ctx))
|
||||
|
||||
await ctx.with('build local model', {}, async () => {
|
||||
for (const tx of model) {
|
||||
|
||||
Reference in New Issue
Block a user