Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
35701 239 d 10 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 251 d 10 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 2892 d 11 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/order/impl/  
23864 3015 d 11 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/order/impl/ Added LineItem Imei  
23096 3208 d 15 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/order/impl/ Added recharge commissions  
23081 3212 d 11 h amit.gupta /trunk/ Added Price Drop and fixed tnc for suppliers  
22491 3299 d 20 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/order/impl/ Added cod courier remittance for reporting purposes  
21844 3382 d 12 h amit.gupta /trunk/ Gst Changes  
21134 3479 d 10 h amit.gupta /trunk/ Added B2C to B2B for priority retailers  
21101 3483 d 13 h kshitij.sood /trunk/  
21090 3489 d 6 h kshitij.sood /trunk/ PM Sales Associate  
21050 3500 d 13 h kshitij.sood /trunk/PyProj/src/shop2020/model/v1/order/impl/  
21044 3501 d 6 h kshitij.sood /trunk/  
20942 3518 d 13 h kshitij.sood /trunk/PyProj/src/shop2020/model/v1/order/impl/  
20873 3524 d 13 h kshitij.sood /trunk/ Wallet changes order & payment  
20818 3534 d 10 h kshitij.sood /trunk/  
20745 3546 d 11 h kshitij.sood /trunk/PyProj/src/shop2020/  
20737 3548 d 6 h kshitij.sood /trunk/PyProj/src/shop2020/model/v1/order/impl/  
20025 3764 d 18 h amit.gupta /trunk/ Added changes related to company details/warehouse address  
19982 3768 d 3 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/order/impl/  
19981 3768 d 4 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/order/impl/  
19980 3768 d 4 h amit.gupta /trunk/ Added address_id to order table  
19978 3768 d 10 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/order/impl/ Added unique constraint for label  
19977 3768 d 11 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/order/impl/  
19975 3768 d 12 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/order/impl/  
19973 3768 d 12 h amit.gupta /trunk/ Added changes related to company invoice  
19950 3771 d 10 h amit.gupta /trunk/ added changes related to new company  
19832 3788 d 14 h amit.gupta /trunk/ Added unaccept order feature.  
19714 3802 d 8 h manish.sharma /trunk/ Committed by Manish Sharma for Return Process Implementation on May-9-2016  
19694 3805 d 9 h manish.sharma /trunk/PyProj/src/shop2020/model/v1/order/impl/ Committed by Manish Sharma for Return Process Implementation on May-5-2016  
19691 3806 d 15 h manish.sharma /trunk/ Committed by Manish Sharma for Return Process Implementation on May-5-2016  
19474 3827 d 15 h manish.sharma /trunk/ Committed by Manish Sharma for Logistics Costing Related Changes on Apr-14-2016  
19421 3830 d 12 h manish.sharma /trunk/ Committed by Manish Sharma for Logistics Costing Related Changes on Apr-11-2016  
19235 3849 d 12 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 3880 d 14 h manish.sharma /trunk/ Committed by Manish Sharma for Creditor Associate Process Implementation on Feb-21-2016  
18707 3885 d 12 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 3889 d 9 h amit.gupta /trunk/ Fixed due_date_days and ticket size  
18634 3891 d 7 h manish.sharma /trunk/ Committed by Manish Sharma for Creditor Associate Process Implementation on Feb-09-2016  
18592 3893 d 10 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/order/impl/ Fixed String  
18591 3893 d 10 h manish.sharma /trunk/PyProj/src/shop2020/model/v1/order/impl/ Committed by Manish Sharma for Creditor Associate Process Implementation on Feb-08-2016