Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev 2023-10-11 18:50:50 +07:00 committed by GitHub
parent 13a677dd3e
commit 468413274d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 2 deletions

View File

@ -306,6 +306,9 @@ async function loadModel (
ltxes = memTxes
}
}
if (ltxes.length < modelTransactionThreshold) {
lastTxTime = 0
}
}
let atxes: Tx[] = []

View File

@ -40,6 +40,8 @@ export async function integrationTextPresenter (doc: Doc, control: TriggerContro
// eslint-disable-next-line @typescript-eslint/explicit-function-return-type
export default async () => ({
IntegrationHTMLPresenter: integrationHTMLPresenter,
IntegrationTextPresenter: integrationTextPresenter
function: {
IntegrationHTMLPresenter: integrationHTMLPresenter,
IntegrationTextPresenter: integrationTextPresenter
}
})