mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-09 21:29:11 +00:00
Update batch-size
This commit is contained in:
@@ -419,7 +419,7 @@ Auto invokes setup steps on calling main entrypoint."
|
|||||||
(delete-files (khoj--get-delete-file-list khoj--indexed-files files-to-index))
|
(delete-files (khoj--get-delete-file-list khoj--indexed-files files-to-index))
|
||||||
(inhibit-message t)
|
(inhibit-message t)
|
||||||
(message-log-max nil)
|
(message-log-max nil)
|
||||||
(batch-size 50))
|
(batch-size 30))
|
||||||
(dolist (files (khoj--split-file-list files-to-index batch-size))
|
(dolist (files (khoj--split-file-list files-to-index batch-size))
|
||||||
(khoj--send-index-update-request (khoj--render-update-files-as-request-body files boundary) boundary content-type type-query force))
|
(khoj--send-index-update-request (khoj--render-update-files-as-request-body files boundary) boundary content-type type-query force))
|
||||||
(when delete-files
|
(when delete-files
|
||||||
|
|||||||
Reference in New Issue
Block a user