Changeset: f30f88e0584b for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/f30f88e0584b Modified Files: sql/test/concurrent/Tests/many-concurrent-client-connections.SQL.py Branch: Dec2023 Log Message:
Reduce number of connection, especially on Windows. diffs (24 lines): diff --git a/sql/test/concurrent/Tests/many-concurrent-client-connections.SQL.py b/sql/test/concurrent/Tests/many-concurrent-client-connections.SQL.py --- a/sql/test/concurrent/Tests/many-concurrent-client-connections.SQL.py +++ b/sql/test/concurrent/Tests/many-concurrent-client-connections.SQL.py @@ -3,16 +3,18 @@ from concurrent.futures import ProcessPo if os.name == 'posix' and os.uname().sysname == 'Linux': executor = ProcessPoolExecutor + nr_clients = 32 + nr_queries = 1000 else: executor = ThreadPoolExecutor + nr_clients = 16 + nr_queries = 500 h = os.getenv('MAPIHOST') p = int(os.getenv('MAPIPORT')) db = os.getenv('TSTDB') -nr_clients = 32 def client(_): - nr_queries = 1000 for x in range(0, nr_queries): conn = pymonetdb.connect(hostname=h, port=p,database=db, autocommit=True) cursor = conn.cursor() _______________________________________________ checkin-list mailing list -- checkin-list@monetdb.org To unsubscribe send an email to checkin-list-le...@monetdb.org