Subversion Repositories SmartDukaan

Rev

Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
35718 70 d 22 h amit /trunk/PyProj/src/shop2020/ fix: use session.remove() instead of session.close() to prevent memory leaks in all services  
35701 71 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 83 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
 
30569 1419 d 7 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/user/impl/  
26106 2297 d 7 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/user/impl/  
24385 2672 d 4 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/user/impl/ Fixed cod allowed  
24227 2714 d 5 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/user/impl/ In case order is from backend do not charge shipping cost.  
24154 2745 d 5 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/user/impl/  
23480 2949 d 4 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/user/impl/ Added mobile to category  
23479 2950 d 13 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/user/impl/  
23478 2950 d 14 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/user/impl/ Added non-accessory quantity  
23450 2954 d 23 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/user/impl/  
23446 2955 d 1 h amit.gupta /trunk/ Added changes related to fofo.  
23194 3021 d 4 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/user/impl/  
23095 3042 d 4 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/user/impl/  
23081 3044 d 6 h amit.gupta /trunk/ Added Price Drop and fixed tnc for suppliers  
22749 3096 d 15 h amit.gupta /trunk/ Added new method isLogisticsCod  
22723 3103 d 5 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/user/impl/  
22721 3103 d 7 h amit.gupta /trunk/ Fixed fofo inventory assignment issue  
22715 3103 d 16 h amit.gupta /trunk/ Added isFofo to privatedealuser  

Show All