@@ -530,10 +530,13 @@ async def start_connection_pool(self: Self, **kwargs: Dict[str, Any]) -> None:
530530 else :
531531 config = dict (self .config )
532532 config .update (** kwargs )
533+ print ("----------------" )
534+ print (config )
535+ print ("----------------" )
533536 self .pool = ConnectionPool (
534537 db_name = config .pop ("database" , None ),
535538 username = config .pop ("user" , None ),
536- max_db_pool_size = config .pop ("max_size" ),
539+ max_db_pool_size = config .pop ("max_size" , 2 ),
537540 ** config ,
538541 )
539542
@@ -622,7 +625,6 @@ async def _run_in_new_connection(
622625 Result from the database as a list of dicts.
623626 """
624627 connection = await self .get_new_connection ()
625-
626628 try :
627629 results = await connection .execute (
628630 querystring = query ,
@@ -647,6 +649,9 @@ async def run_querystring(
647649 ### Returns:
648650 Result from the database as a list of dicts.
649651 """
652+ print ("------------------" )
653+ print ("RUN" , querystring )
654+ print ("------------------" )
650655 query , query_args = querystring .compile_string (engine_type = self .engine_type )
651656
652657 query_id = self .get_query_id ()
@@ -669,7 +674,7 @@ async def run_querystring(
669674
670675 if self .log_responses :
671676 self .print_response (query_id = query_id , response = response )
672-
677+ print ( response )
673678 return response
674679
675680 async def run_ddl (
0 commit comments