summaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2019-04-28 16:20:29 +0200
committerJules Laplace <julescarbon@gmail.com>2019-04-28 16:20:29 +0200
commita313f42b12fd58ae2db4561454c91eaf3b776c42 (patch)
treea8cebf8050a5db04211adffc88929fcc5f17284a /check
parentaa5638a1c31ce56d59696580f33733dcf0d7764c (diff)
stuff working
Diffstat (limited to 'check')
-rw-r--r--check/app/server/api.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/check/app/server/api.py b/check/app/server/api.py
index e73e584..f214696 100644
--- a/check/app/server/api.py
+++ b/check/app/server/api.py
@@ -15,8 +15,8 @@ from app.utils.file_utils import sha256_stream
sanitize_re = re.compile('[\W]+')
valid_exts = ['.gif', '.jpg', '.jpeg', '.png']
-MATCH_THRESHOLD = 20
-MATCH_LIMIT = 10
+MATCH_THRESHOLD = 6
+MATCH_LIMIT = 1
SIMILAR_THRESHOLD = 20
SIMILAR_LIMIT = 10