Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
35701 84 d 5 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 96 d 5 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 2737 d 7 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/order/impl/  
23864 2860 d 6 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/order/impl/ Added LineItem Imei  
23096 3053 d 10 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/order/impl/ Added recharge commissions  
23081 3057 d 6 h amit.gupta /trunk/ Added Price Drop and fixed tnc for suppliers  
22491 3144 d 15 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/order/impl/ Added cod courier remittance for reporting purposes  
21844 3227 d 7 h amit.gupta /trunk/ Gst Changes  
21134 3324 d 6 h amit.gupta /trunk/ Added B2C to B2B for priority retailers  
21101 3328 d 8 h kshitij.sood /trunk/  
21090 3334 d 2 h kshitij.sood /trunk/ PM Sales Associate  
21050 3345 d 9 h kshitij.sood /trunk/PyProj/src/shop2020/model/v1/order/impl/  
21044 3346 d 2 h kshitij.sood /trunk/  
20942 3363 d 9 h kshitij.sood /trunk/PyProj/src/shop2020/model/v1/order/impl/  
20873 3369 d 9 h kshitij.sood /trunk/ Wallet changes order & payment  
20818 3379 d 5 h kshitij.sood /trunk/  
20745 3391 d 6 h kshitij.sood /trunk/PyProj/src/shop2020/  
20737 3393 d 2 h kshitij.sood /trunk/PyProj/src/shop2020/model/v1/order/impl/  
20025 3609 d 13 h amit.gupta /trunk/ Added changes related to company details/warehouse address  
19982 3612 d 22 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/order/impl/  

Show All