Feature Elimination backend
This commit is contained in:
@@ -44,12 +44,19 @@ httpx>=0.27.2
|
||||
# you can skip everything below this line.
|
||||
# Retry/backoff for the barcode enrichment sources
|
||||
# (app/services/enrichment/barcode/retry.py). This is NOT an optional extra:
|
||||
# retry.py imports it at module scope, and that module is reached from
|
||||
# app/main.py's own import of the store_catalog router - so a missing tenacity
|
||||
# is not a degraded feature, it is the container exiting 1 on boot with
|
||||
# ModuleNotFoundError before uvicorn ever binds a socket. Swarm then restarts
|
||||
# it, and each restart re-runs ~21s of pandas/scipy/sklearn imports, which on a
|
||||
# 1-vCPU host reads as pinned-at-100% CPU rather than as a crash.
|
||||
# retry.py imports it at module scope, and that module is reached at BOOT, via
|
||||
# app/main.py -> routers/{uploads,batch_catalog} -> api/batch_common
|
||||
# -> core/store_catalog_pipeline -> enrichment/barcode/retry
|
||||
# so a missing tenacity is not a degraded feature, it is the container exiting 1
|
||||
# on boot with ModuleNotFoundError before uvicorn ever binds a socket. Swarm
|
||||
# then restarts it, and each restart re-runs ~21s of pandas/scipy/sklearn
|
||||
# imports, which on a 1-vCPU host reads as pinned-at-100% CPU rather than as a
|
||||
# crash.
|
||||
#
|
||||
# This note used to name the store_catalog router as the importer. That router
|
||||
# was deleted with the Store Catalog Ingestion tab; the chain above is the one
|
||||
# that survives, and it runs through every remaining ingestion route. Re-check
|
||||
# it here before ever concluding this dependency has become unused.
|
||||
tenacity>=8.2.3
|
||||
|
||||
beautifulsoup4>=4.12.3
|
||||
|
||||
Reference in New Issue
Block a user