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 2019/06/12 15:01:06 UTC

[kibble] branch master updated: harmonize, bump limits

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.git


The following commit(s) were added to refs/heads/master by this push:
     new 3978a37  harmonize, bump limits
3978a37 is described below

commit 3978a37e2e582a87f18139bd86e09b4a86ebbcaa
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Wed Jun 12 17:00:53 2019 +0200

    harmonize, bump limits
    
    10k is the standard ES limit for docs.
---
 api/plugins/session.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/api/plugins/session.py b/api/plugins/session.py
index 03e39e7..68614e1 100644
--- a/api/plugins/session.py
+++ b/api/plugins/session.py
@@ -46,7 +46,7 @@ class KibbleSession(object):
         res = self.DB.ES.search(
                 index=self.DB.dbname,
                 doc_type="source",
-                size = 5000,
+                size = 10000,
                 _source_include = ['sourceURL', 'sourceID'],
                 body = {
                     'query': {
@@ -80,7 +80,7 @@ class KibbleSession(object):
         res = self.DB.ES.search(
                 index=self.DB.dbname,
                 doc_type="source",
-                size = 9000,
+                size = 10000,
                 _source_include = ['sourceURL', 'sourceID', 'type'],
                 body = {
                     'query': {