Update certificate_upload_module.py
Browse files
certificate_upload_module.py
CHANGED
|
@@ -218,11 +218,7 @@ def check_certificate_dataset_health():
|
|
| 218 |
return False
|
| 219 |
|
| 220 |
|
| 221 |
-
# Health check on import
|
| 222 |
logger.info("π MCP Birthday Certificate Upload Module Initialized")
|
| 223 |
logger.info(f"π Target Dataset: {CERTIFICATE_DATASET_NAME} (PUBLIC)")
|
| 224 |
-
|
| 225 |
-
if check_certificate_dataset_health():
|
| 226 |
-
logger.info("β
Certificate dataset is healthy and ready")
|
| 227 |
-
else:
|
| 228 |
-
logger.warning("β οΈ Certificate dataset health warnings detected")
|
|
|
|
| 218 |
return False
|
| 219 |
|
| 220 |
|
| 221 |
+
# Health check function available but NOT run on import to avoid loading delays
|
| 222 |
logger.info("π MCP Birthday Certificate Upload Module Initialized")
|
| 223 |
logger.info(f"π Target Dataset: {CERTIFICATE_DATASET_NAME} (PUBLIC)")
|
| 224 |
+
# Note: Health check moved to on-demand - call check_certificate_dataset_health() manually if needed
|
|
|
|
|
|
|
|
|
|
|
|