Subversion Repositories SmartDukaan

Rev

Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
35701 55 d 14 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 67 d 14 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
 
21097 3303 d 7 h amit.gupta /trunk/PyProj/src/shop2020/logistics/service/impl/  
21093 3303 d 15 h amit.gupta /trunk/PyProj/src/shop2020/logistics/service/impl/  
20837 3348 d 15 h amit.gupta /trunk/PyProj/src/shop2020/logistics/service/impl/  
20769 3358 d 10 h kshitij.sood /trunk/PyProj/src/shop2020/logistics/service/impl/  
20745 3362 d 15 h kshitij.sood /trunk/PyProj/src/shop2020/  
19426 3646 d 15 h manish.sharma /trunk/PyProj/src/shop2020/logistics/service/impl/ Committed by Manish Sharma for Logistics Costing Related Changes on Apr-11-2016  
19421 3646 d 16 h manish.sharma /trunk/ Committed by Manish Sharma for Logistics Costing Related Changes on Apr-11-2016  
19413 3646 d 20 h amit.gupta /trunk/ Added logic for new itemavaialbilitycache  
13146 4147 d 13 h manish.sharma /trunk/ Committed by Manish Sharma for Bulk Shipment Creation Process on 27-Nov-2014  
7792 4640 d 16 h anupam.singh /trunk/ - Changes to logistics provider details
- Added support for uploading awb list in file as well as downloading reports in excel
 
7627 4666 d 20 h rajveer /trunk/PyProj/src/shop2020/logistics/service/impl/ Add prepaid provider limit for bluedart and other couriers.  
7491 4679 d 14 h rajveer /trunk/PyProj/src/shop2020/logistics/service/impl/ Change logic for cod limit based on pincode.  
6644 4833 d 13 h rajveer /trunk/PyProj/src/shop2020/logistics/service/impl/ Removed dependency of awb on awbupdate.  
6643 4833 d 15 h rajveer /trunk/ Added support to store awb updates in our system.  
6537 4850 d 15 h rajveer /trunk/PyProj/src/shop2020/ Added option to add delivery delay for selected pincodes.  
6524 4854 d 12 h rajveer /trunk/ Added code for on time guarantee.  
5863 4974 d 18 h rajveer /trunk/ Added email for store.  
5813 4980 d 1 h rajveer /trunk/ Added bdm and bdmemail in shchema of pickupstore.  

Show All