aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-09-24 18:08:30 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-09-24 18:08:30 -0700
commit4b77ddfd0967691aa03af90af7f4c8919576a546 (patch)
tree3251876a648a70cdc6a3afb06cd3cbc387c5530c
parentbf0c3399d3a80b32301a3554971a962478614692 (diff)
downloadfatcat-4b77ddfd0967691aa03af90af7f4c8919576a546.tar.gz
fatcat-4b77ddfd0967691aa03af90af7f4c8919576a546.zip
even more conservative size restrictions
-rw-r--r--python/fatcat/crossref_importer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/fatcat/crossref_importer.py b/python/fatcat/crossref_importer.py
index 7ca800ff..747fadb0 100644
--- a/python/fatcat/crossref_importer.py
+++ b/python/fatcat/crossref_importer.py
@@ -191,7 +191,7 @@ class FatcatCrossrefImporter(FatcatImporter):
# TODO: filter out huge releases; we'll get them later (and fix bug in
# fatcatd)
- if max(len(contribs), len(refs)) > 1000:
+ if max(len(contribs), len(refs), len(abstracts)) > 750:
return None
re = fatcat_client.ReleaseEntity(