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/incubator-ponymail-foal.git
commit 9979a9d992a549671d563b20d7ab53d78c35e16d Author: Daniel Gruno <[email protected]> AuthorDate: Fri Sep 11 10:39:15 2020 +0200 use new constructor class for thread building --- server/endpoints/stats.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/endpoints/stats.py b/server/endpoints/stats.py index 8ac7a02..ed328fd 100644 --- a/server/endpoints/stats.py +++ b/server/endpoints/stats.py @@ -53,7 +53,8 @@ async def process( wordcloud = await plugins.mbox.wordcloud(session, query_defuzzed) first_year, last_year = await plugins.mbox.get_years(session, query_defuzzed_nodate) - tstruct, authors = await server.runners.run(plugins.mbox.construct_threads, results) + threads = plugins.mbox.ThreadConstructor(results) + tstruct, authors = await server.runners.run(threads.construct) xlist = indata.get("list", "*") xdomain = indata.get("domain", "*")
