Update batch-size

This commit is contained in:
Desmond
2024-05-08 13:44:22 +08:00
parent 192cd53003
commit 150cd18bf3

View File

@@ -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))
(inhibit-message t)
(message-log-max nil)
(batch-size 50))
(batch-size 30))
(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))
(when delete-files