You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by se...@apache.org on 2021/12/14 23:08:13 UTC

[incubator-ponymail-foal] 01/02: Don't default the limit

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

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git

commit 1faa0cee49dc3b537c180d11dd8b15e1646adc5f
Author: Sebb <se...@apache.org>
AuthorDate: Tue Dec 14 23:07:29 2021 +0000

    Don't default the limit
---
 server/plugins/messages.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/plugins/messages.py b/server/plugins/messages.py
index 1e72bcc..781a8c2 100644
--- a/server/plugins/messages.py
+++ b/server/plugins/messages.py
@@ -406,7 +406,7 @@ async def query_batch(
 async def query(
     session: plugins.session.SessionObject,
     query_defuzzed: dict,
-    query_limit: int = 10000,
+    query_limit: int,
     hide_deleted: bool = True,
     metadata_only: bool = False,
     epoch_order: str = "desc",