소스 검색

Try handling unclosed sql connections by calling dispose on the engine before it is put back into the pool.

ogert 5 년 전
부모
커밋
3f6c3ccd00
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      cdplib/db_handlers/SQLHandler.py

+ 0 - 1
cdplib/db_handlers/SQLHandler.py

@@ -48,7 +48,6 @@ class SQLHandler:
     closing of a database connection,
      this avoids errors when parallelizing with multiprocessing.
     '''
-    pass
     def __init__(self, db_uri: str = None,
                  is_case_insensitive: bool = False):
         '''