Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
35701 16 d 11 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 28 d 11 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
 
26887 2033 d 15 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/catalog/impl/  
24111 2709 d 11 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/catalog/impl/  
23806 2801 d 17 h tejbeer /trunk/ hotdeal change  
23159 2973 d 11 h ashik.ali /trunk/PyProj/src/shop2020/model/v1/catalog/impl/  
23156 2973 d 13 h ashik.ali /trunk/PyProj/src/shop2020/model/v1/catalog/impl/  
23142 2974 d 15 h ashik.ali /trunk/PyProj/src/shop2020/model/v1/catalog/impl/  
22309 3105 d 15 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/catalog/impl/  
22249 3117 d 20 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/catalog/impl/  
21853 3158 d 11 h amit.gupta /trunk/ Fixed CategoryHsnCode  
21838 3162 d 8 h amit.gupta /trunk/ Added new tax implementation i.e. gst  
20390 3447 d 13 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/catalog/impl/ Echo false  
19714 3579 d 9 h manish.sharma /trunk/ Committed by Manish Sharma for Return Process Implementation on May-9-2016  
19691 3583 d 16 h manish.sharma /trunk/ Committed by Manish Sharma for Return Process Implementation on May-5-2016  
19686 3584 d 14 h kshitij.sood /trunk/ Entity upload service  
18414 3681 d 9 h kshitij.sood /trunk/ Maximum buy quantity + bulk items  
18150 3709 d 10 h kshitij.sood /trunk/ Changes related to bulk pricing + catalog service.  
18002 3724 d 12 h kshitij.sood /trunk/ Added pack quantity.  
17770 3737 d 0 h kshitij.sood /trunk/PyProj/src/shop2020/model/v1/catalog/impl/  

Show All