Subversion Repositories SmartDukaan

Rev

Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
35718 72 d 13 h amit /trunk/PyProj/src/shop2020/ fix: use session.remove() instead of session.close() to prevent memory leaks in all services  
35701 72 d 21 h amit /trunk/PyProj/src/ Performance fix: reduce logging level to WARNING, remove incompatible pool_pre_ping, fix tornado dependency

- Changed logging.basicConfig from DEBUG to WARNING in 6 service files to stop
SQLAlchemy query spam that caused memory bloat (TransactionServer 553MB -> 63MB)
- Set echoOn=False as default in PurchaseServiceHandler
- Removed pool_pre_ping=True from 7 DataService files (incompatible with SQLAlchemy 0.6.6)
- Updated tornado dependency from 1.0.1 to 1.0 in setup.py (1.0.1 unavailable on PyPI)
 
35608 84 d 20 h amit /trunk/PyProj/src/shop2020/ 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
 
26995 2063 d 22 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/catalog/impl/ Fixed tax rate issues  
26887 2090 d 1 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/catalog/impl/  
26506 2211 d 0 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/catalog/impl/  
26502 2212 d 5 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/catalog/impl/  
24820 2582 d 23 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/catalog/impl/  
24213 2723 d 0 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/catalog/impl/ Fixed logic for NOGST  
24165 2733 d 1 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/catalog/impl/ Handle usecases for No GST  
24164 2733 d 1 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/catalog/impl/ Added NOGST as hsnCode  
24111 2765 d 21 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/catalog/impl/  
24041 2797 d 5 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/catalog/impl/  
24033 2798 d 21 h amit.gupta /trunk/ fixed data.  
24007 2806 d 17 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/catalog/impl/ Removed active flag  
23991 2811 d 21 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/catalog/impl/  
23806 2858 d 2 h tejbeer /trunk/ hotdeal change  
23791 2865 d 0 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/catalog/impl/  
23729 2884 d 0 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/catalog/impl/ Fixed tax rate  
23446 2956 d 17 h amit.gupta /trunk/ Added changes related to fofo.  

Show All