1
0
Fork 0
mirror of synced 2024-06-02 18:44:59 +12:00

Change MAX_SONIC_TEXT_LENGTH

This commit is contained in:
JDC 2020-11-23 18:17:07 -05:00 committed by Nick Sweeting
parent db9c2edccc
commit 15fbd81480

View file

@ -5,7 +5,7 @@ from sonic import IngestClient, SearchClient
from archivebox.util import enforce_types
from archivebox.config import SEARCH_BACKEND_HOST_NAME, SEARCH_BACKEND_PORT, SEARCH_BACKEND_PASSWORD, SONIC_BUCKET, SONIC_COLLECTION
MAX_SONIC_TEXT_LENGTH = 1000
MAX_SONIC_TEXT_LENGTH = 20000
@enforce_types
def index(snapshot_id: str, texts: List[str]):