Rev 34206 |
Last modification |
Compare with Previous |
View Log
| RSS feed
Last modification
- Rev 35608 2026-01-28 17:15:30
- Author: amit
- Log message:
- Fix DB connection pooling to reduce service restarts
- Add pool_timeout=30 to fail fast instead of hanging indefinitely
- Add pool_pre_ping=True to detect stale MySQL connections before use
- Reduce pool_recycle from 7200s to 3600s for fresher connections
- Disable SQL echo logging (echo=False) to reduce memory/CPU usage
- Fix MongoDB connection with thread-safe initialization and proper pooling
Modified services: helper, user, inventory, order, payment, logistics, catalog