diff --git a/src/glvd/cli/combine_all.py b/src/glvd/cli/combine_all.py index 9a6f8d0..6ee7750 100644 --- a/src/glvd/cli/combine_all.py +++ b/src/glvd/cli/combine_all.py @@ -109,7 +109,6 @@ async def __call__( args = parser.parse_args() engine = create_async_engine( "postgresql+asyncpg:///", - echo=True, ) main = CombineDeb() asyncio.run(main(engine)) diff --git a/src/glvd/cli/combine_deb.py b/src/glvd/cli/combine_deb.py index ae35d05..33e0315 100644 --- a/src/glvd/cli/combine_deb.py +++ b/src/glvd/cli/combine_deb.py @@ -173,7 +173,6 @@ async def __call__( args = parser.parse_args() engine = create_async_engine( "postgresql+asyncpg:///", - echo=True, ) main = CombineDeb() asyncio.run(main(engine)) diff --git a/src/glvd/cli/ingest_debsec.py b/src/glvd/cli/ingest_debsec.py index 5841e5d..42e8382 100644 --- a/src/glvd/cli/ingest_debsec.py +++ b/src/glvd/cli/ingest_debsec.py @@ -134,7 +134,6 @@ async def __call__( args = parser.parse_args() engine = create_async_engine( "postgresql+asyncpg:///", - echo=True, ) ingest = IngestDebsec(args.cpe_product, args.dir) asyncio.run(ingest(engine)) diff --git a/src/glvd/cli/ingest_debsrc.py b/src/glvd/cli/ingest_debsrc.py index 0989cdc..9c63a60 100644 --- a/src/glvd/cli/ingest_debsrc.py +++ b/src/glvd/cli/ingest_debsrc.py @@ -126,7 +126,6 @@ async def __call__( args = parser.parse_args() engine = create_async_engine( "postgresql+asyncpg:///", - echo=True, ) ingest = IngestDebsrc(args.cpe_product, args.deb_codename, args.file) asyncio.run(ingest(engine)) diff --git a/src/glvd/cli/ingest_nvd.py b/src/glvd/cli/ingest_nvd.py index bad7155..35d6089 100644 --- a/src/glvd/cli/ingest_nvd.py +++ b/src/glvd/cli/ingest_nvd.py @@ -123,7 +123,6 @@ async def __call__(self, engine: AsyncEngine) -> None: logging.basicConfig(level=logging.DEBUG) engine = create_async_engine( "postgresql+asyncpg:///", - # echo=True, ) ingest = IngestNvd() asyncio.run(ingest(engine)) diff --git a/src/glvd/web/__init__.py b/src/glvd/web/__init__.py index 8d8c034..1049854 100644 --- a/src/glvd/web/__init__.py +++ b/src/glvd/web/__init__.py @@ -14,7 +14,6 @@ def __init__(self, app: Quart) -> None: # TODO: Use config self.engine = create_async_engine( "postgresql+asyncpg:///", - echo=True, pool_size=50, max_overflow=0, )