Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
35701 152 d 12 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 164 d 12 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 2805 d 14 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/order/impl/  
23864 2928 d 13 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/order/impl/ Added LineItem Imei  
23096 3121 d 17 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/order/impl/ Added recharge commissions  
23081 3125 d 13 h amit.gupta /trunk/ Added Price Drop and fixed tnc for suppliers  
22491 3212 d 22 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/order/impl/ Added cod courier remittance for reporting purposes  
21844 3295 d 14 h amit.gupta /trunk/ Gst Changes  
21134 3392 d 13 h amit.gupta /trunk/ Added B2C to B2B for priority retailers  
21101 3396 d 15 h kshitij.sood /trunk/  
21090 3402 d 9 h kshitij.sood /trunk/ PM Sales Associate  
21050 3413 d 16 h kshitij.sood /trunk/PyProj/src/shop2020/model/v1/order/impl/  
21044 3414 d 9 h kshitij.sood /trunk/  
20942 3431 d 16 h kshitij.sood /trunk/PyProj/src/shop2020/model/v1/order/impl/  
20873 3437 d 16 h kshitij.sood /trunk/ Wallet changes order & payment  
20818 3447 d 12 h kshitij.sood /trunk/  
20745 3459 d 13 h kshitij.sood /trunk/PyProj/src/shop2020/  
20737 3461 d 9 h kshitij.sood /trunk/PyProj/src/shop2020/model/v1/order/impl/  
20025 3677 d 20 h amit.gupta /trunk/ Added changes related to company details/warehouse address  
19982 3681 d 5 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/order/impl/  
19981 3681 d 6 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/order/impl/  
19980 3681 d 7 h amit.gupta /trunk/ Added address_id to order table  
19978 3681 d 13 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/order/impl/ Added unique constraint for label  
19977 3681 d 14 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/order/impl/  
19975 3681 d 14 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/order/impl/  
19973 3681 d 14 h amit.gupta /trunk/ Added changes related to company invoice  
19950 3684 d 12 h amit.gupta /trunk/ added changes related to new company  
19832 3701 d 17 h amit.gupta /trunk/ Added unaccept order feature.  
19714 3715 d 10 h manish.sharma /trunk/ Committed by Manish Sharma for Return Process Implementation on May-9-2016  
19694 3718 d 11 h manish.sharma /trunk/PyProj/src/shop2020/model/v1/order/impl/ Committed by Manish Sharma for Return Process Implementation on May-5-2016  
19691 3719 d 17 h manish.sharma /trunk/ Committed by Manish Sharma for Return Process Implementation on May-5-2016  
19474 3740 d 17 h manish.sharma /trunk/ Committed by Manish Sharma for Logistics Costing Related Changes on Apr-14-2016  
19421 3743 d 14 h manish.sharma /trunk/ Committed by Manish Sharma for Logistics Costing Related Changes on Apr-11-2016  
19235 3762 d 14 h manish.sharma /trunk/PyProj/src/shop2020/model/v1/order/impl/ Committed by Manish Sharma for Reserved Count Changes for Split Order and Trust Level Changes on Mar-23-2016  
18769 3793 d 16 h manish.sharma /trunk/ Committed by Manish Sharma for Creditor Associate Process Implementation on Feb-21-2016  
18707 3798 d 14 h manish.sharma /trunk/PyProj/src/shop2020/model/v1/order/impl/ Committed by Manish Sharma for Creditor Associate Process Implementation on Feb-15-2016  
18674 3802 d 11 h amit.gupta /trunk/ Fixed due_date_days and ticket size  
18634 3804 d 9 h manish.sharma /trunk/ Committed by Manish Sharma for Creditor Associate Process Implementation on Feb-09-2016  
18592 3806 d 12 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/order/impl/ Fixed String  
18591 3806 d 13 h manish.sharma /trunk/PyProj/src/shop2020/model/v1/order/impl/ Committed by Manish Sharma for Creditor Associate Process Implementation on Feb-08-2016