mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-03 21:29:08 +00:00
Do not force index update when configure backend on plugin load
- Backend can handle incremental updates - Avoid khoj usability delay by avoiding recomputed everytime vault opened
This commit is contained in:
@@ -108,7 +108,7 @@ export async function updateKhojBackend(khojUrl: string, khojConfig: Object) {
|
||||
// Save khojConfig on khoj backend at khojConfigUrl
|
||||
await request(requestContent)
|
||||
// Refresh khoj search index after updating config
|
||||
.then(_ => request(`${khojUrl}/api/update?t=markdown&force=true`));
|
||||
.then(_ => request(`${khojUrl}/api/update?t=markdown`));
|
||||
}
|
||||
|
||||
function getIndexDirectoryFromBackendConfig(khojConfig: any) {
|
||||
|
||||
Reference in New Issue
Block a user