Attaching a database

47 views
Skip to first unread message

Emiliano Heyns

unread,
Jun 5, 2024, 12:01:06 PMJun 5
to zotero-dev
I attach a database to Zotero's database, a.o. to implement citekey search, but this takes very long and causes long Zotero delays if I do this while Zotero is doing database work itself. Can I await/detect a moment that there is no running transaction?

Emiliano Heyns

unread,
Jun 6, 2024, 5:57:58 AMJun 6
to zotero-dev
I can await Zotero.DB.waitForTransaction, but that makes the init now

await Zotero.initializationPromise
await Zotero.Translators.init()
await Zotero.DB.waitForTransaction('start BBT startup')

and I have a user for which this takes 13 minutes.
Reply all
Reply to author
Forward
0 new messages