bench/db_setup.sql now sets max_connections

This prevents sporadic CI failures due to exceeding the max connection limit
This commit is contained in:
Ruben Perez
2025-05-07 11:56:34 +02:00
parent 27e417dc2d
commit b287ff6b85
+3
View File
@@ -13,6 +13,9 @@ USE boost_mysql_bench;
-- Required for the WITH RECURSIVE and the amount of rows we're generating
SET SESSION cte_max_recursion_depth = 15000;
-- Having this prevents sporadic CI failures
SET global max_connections = 5000;
-- An arbitrary value to pass to RAND(@seed). RAND(@i) generates a
-- deterministic sequence, vs RAND(@seed)
SET @seed = 3;