mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-01 20:32:19 +08:00
this can be much faster
This commit is contained in:
parent
ed52d71729
commit
c500300267
@ -53,7 +53,7 @@ export function setupEmbeddingEventListeners() {
|
|||||||
* Setup background processing of the embedding queue
|
* Setup background processing of the embedding queue
|
||||||
*/
|
*/
|
||||||
export async function setupEmbeddingBackgroundProcessing() {
|
export async function setupEmbeddingBackgroundProcessing() {
|
||||||
const interval = parseInt(await options.getOption('embeddingUpdateInterval') || '5000', 10);
|
const interval = parseInt(await options.getOption('embeddingUpdateInterval') || '200', 10);
|
||||||
|
|
||||||
setInterval(async () => {
|
setInterval(async () => {
|
||||||
try {
|
try {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user