Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
35701 13 d 7 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 25 d 7 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
 
24212 2666 d 8 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/order/impl/  
23864 2789 d 8 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/order/impl/ Added LineItem Imei  
23096 2982 d 12 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/order/impl/ Added recharge commissions  
23081 2986 d 8 h amit.gupta /trunk/ Added Price Drop and fixed tnc for suppliers  
22491 3073 d 17 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/order/impl/ Added cod courier remittance for reporting purposes  
21844 3156 d 9 h amit.gupta /trunk/ Gst Changes  
21134 3253 d 8 h amit.gupta /trunk/ Added B2C to B2B for priority retailers  
21101 3257 d 10 h kshitij.sood /trunk/  
21090 3263 d 3 h kshitij.sood /trunk/ PM Sales Associate  
21050 3274 d 11 h kshitij.sood /trunk/PyProj/src/shop2020/model/v1/order/impl/  
21044 3275 d 3 h kshitij.sood /trunk/  
20942 3292 d 11 h kshitij.sood /trunk/PyProj/src/shop2020/model/v1/order/impl/  
20873 3298 d 10 h kshitij.sood /trunk/ Wallet changes order & payment  
20818 3308 d 7 h kshitij.sood /trunk/  
20745 3320 d 8 h kshitij.sood /trunk/PyProj/src/shop2020/  
20737 3322 d 3 h kshitij.sood /trunk/PyProj/src/shop2020/model/v1/order/impl/  
20025 3538 d 15 h amit.gupta /trunk/ Added changes related to company details/warehouse address  
19982 3542 d 0 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/order/impl/  

Show All