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 4 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 4 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 2669 d 6 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/order/impl/  
23864 2792 d 6 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/order/impl/ Added LineItem Imei  
23096 2985 d 9 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/order/impl/ Added recharge commissions  
23081 2989 d 5 h amit.gupta /trunk/ Added Price Drop and fixed tnc for suppliers  
22491 3076 d 14 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/order/impl/ Added cod courier remittance for reporting purposes  
21844 3159 d 6 h amit.gupta /trunk/ Gst Changes  
21134 3256 d 5 h amit.gupta /trunk/ Added B2C to B2B for priority retailers  
21101 3260 d 7 h kshitij.sood /trunk/  
21090 3266 d 1 h kshitij.sood /trunk/ PM Sales Associate  
21050 3277 d 8 h kshitij.sood /trunk/PyProj/src/shop2020/model/v1/order/impl/  
21044 3278 d 1 h kshitij.sood /trunk/  
20942 3295 d 8 h kshitij.sood /trunk/PyProj/src/shop2020/model/v1/order/impl/  
20873 3301 d 8 h kshitij.sood /trunk/ Wallet changes order & payment  
20818 3311 d 5 h kshitij.sood /trunk/  
20745 3323 d 5 h kshitij.sood /trunk/PyProj/src/shop2020/  
20737 3325 d 1 h kshitij.sood /trunk/PyProj/src/shop2020/model/v1/order/impl/  
20025 3541 d 12 h amit.gupta /trunk/ Added changes related to company details/warehouse address  
19982 3544 d 21 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/order/impl/  

Show All