cache-jwt-validation
Some checks failed
Deploy to core / deploy (push) Failing after 28s

This commit is contained in:
2024-02-19 12:40:26 +03:00
parent cf8934c605
commit add5f6df63
2 changed files with 27 additions and 5 deletions

View File

@@ -26,7 +26,7 @@ def before_cursor_execute(conn, cursor, statement, parameters, context, executem
@event.listens_for(Engine, 'after_cursor_execute')
def after_cursor_execute(conn, cursor, statement, parameters, context, executemany):
total = time.time() - conn.info['query_start_time'].pop(-1)
logger.debug(f' Finished in {total*1000} ms ')
logger.debug(f' Finished in {total*1000} s ')
engine = create_engine(DB_URL, echo=False, pool_size=10, max_overflow=20)