Vespa Batch Size (#1368)

This commit is contained in:
Yuhong Sun 2024-04-22 23:45:54 -07:00 committed by GitHub
parent 7044cae0e2
commit 8b4e55ca82
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -90,7 +90,7 @@ DOCUMENT_ID_ENDPOINT = (
)
SEARCH_ENDPOINT = f"{VESPA_APP_CONTAINER_URL}/search/"
_BATCH_SIZE = 100 # Specific to Vespa
_BATCH_SIZE = 128 # Specific to Vespa
_NUM_THREADS = (
16 # since Vespa doesn't allow batching of inserts / updates, we use threads
)