You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by hu...@apache.org on 2020/09/10 08:28:02 UTC

[incubator-ponymail-foal] 04/05: let Python decide on number of runners

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 83e42b1fdc3a546b74721ef73b27737344f2bb69
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Thu Sep 10 10:26:46 2020 +0200

    let Python decide on number of runners
---
 server/main.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/main.py b/server/main.py
index 3ffb88b..45c64ec 100644
--- a/server/main.py
+++ b/server/main.py
@@ -52,7 +52,7 @@ class Server(plugins.server.BaseServer):
         self.data = plugins.configuration.InterData()
         self.handlers = dict()
         self.dbpool = asyncio.Queue()
-        self.runners = plugins.offloader.ExecutorPool(threads=10)
+        self.runners = plugins.offloader.ExecutorPool()
         self.server = None
 
         # Make a pool of 15 database connections for async queries