You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kibble.apache.org by hu...@apache.org on 2018/09/09 14:04:17 UTC

[kibble-scanners] 02/02: bump default limits for tone/mood analysis

This is an automated email from the ASF dual-hosted git repository.

humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kibble-scanners.git

commit 6aff99ddcc2ed72149cb0fe778b5b7c7e3d5ec7b
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Sun Sep 9 16:03:50 2018 +0200

    bump default limits for tone/mood analysis
---
 src/plugins/scanners/ponymail-tone.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/plugins/scanners/ponymail-tone.py b/src/plugins/scanners/ponymail-tone.py
index 98b3124..31cafbe 100644
--- a/src/plugins/scanners/ponymail-tone.py
+++ b/src/plugins/scanners/ponymail-tone.py
@@ -31,7 +31,7 @@ import plugins.utils.tone
 title = "Tone/Mood Scanner plugin for Apache Pony Mail"
 version = "0.1.0"
 ROBITS = r"(git|gerrit|jenkins|hudson|builds|bugzilla)@"
-MAX_COUNT = 50
+MAX_COUNT = 250
 
 def accepts(source):
     """ Test if source matches a Pony Mail archive """
@@ -91,7 +91,7 @@ def scan(KibbleBit, source):
         index=KibbleBit.dbname,
         doc_type="email",
         body = query,
-        size = 100
+        size = MAX_COUNT * 4
     )
     ec = 0
     hits = []