aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2021-02-24 15:30:36 -0800
committerBryan Newbold <bnewbold@archive.org>2021-02-24 15:30:36 -0800
commit5e81f0cc41f36f9410b93bdaa03d3f7d1435d135 (patch)
treea5bacc87f7f0fd501447013f234947224f11f46e
parent0186b53f819687427a8367d6c5729d10ff25a4be (diff)
downloadfatcat-scholar-5e81f0cc41f36f9410b93bdaa03d3f7d1435d135.tar.gz
fatcat-scholar-5e81f0cc41f36f9410b93bdaa03d3f7d1435d135.zip
reduce max body size to 0.5M characters
-rw-r--r--fatcat_scholar/transform.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fatcat_scholar/transform.py b/fatcat_scholar/transform.py
index ca648b2..53f83ae 100644
--- a/fatcat_scholar/transform.py
+++ b/fatcat_scholar/transform.py
@@ -13,7 +13,7 @@ from fatcat_scholar.schema import *
from fatcat_scholar.config import settings, GIT_REVISION
from fatcat_scholar.grobid2json import teixml2json
-MAX_BODY_CHARS = 1024 * 1024
+MAX_BODY_CHARS = 512 * 1024
def es_fulltext_from_sim(sim: Dict[str, Any]) -> Optional[ScholarFulltext]: