Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
35701 198 d 18 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 210 d 17 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 2851 d 19 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/order/impl/  
23864 2974 d 19 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/order/impl/ Added LineItem Imei  
23096 3167 d 23 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/order/impl/ Added recharge commissions  
23081 3171 d 19 h amit.gupta /trunk/ Added Price Drop and fixed tnc for suppliers  
22491 3259 d 4 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/order/impl/ Added cod courier remittance for reporting purposes  
21844 3341 d 20 h amit.gupta /trunk/ Gst Changes  
21134 3438 d 18 h amit.gupta /trunk/ Added B2C to B2B for priority retailers  
21101 3442 d 21 h kshitij.sood /trunk/  
21090 3448 d 14 h kshitij.sood /trunk/ PM Sales Associate  
21050 3459 d 21 h kshitij.sood /trunk/PyProj/src/shop2020/model/v1/order/impl/  
21044 3460 d 14 h kshitij.sood /trunk/  
20942 3477 d 21 h kshitij.sood /trunk/PyProj/src/shop2020/model/v1/order/impl/  
20873 3483 d 21 h kshitij.sood /trunk/ Wallet changes order & payment  
20818 3493 d 18 h kshitij.sood /trunk/  
20745 3505 d 19 h kshitij.sood /trunk/PyProj/src/shop2020/  
20737 3507 d 14 h kshitij.sood /trunk/PyProj/src/shop2020/model/v1/order/impl/  
20025 3724 d 2 h amit.gupta /trunk/ Added changes related to company details/warehouse address  
19982 3727 d 11 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/order/impl/  
19981 3727 d 12 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/order/impl/  
19980 3727 d 12 h amit.gupta /trunk/ Added address_id to order table  
19978 3727 d 18 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/order/impl/ Added unique constraint for label  
19977 3727 d 19 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/order/impl/  
19975 3727 d 20 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/order/impl/  
19973 3727 d 20 h amit.gupta /trunk/ Added changes related to company invoice  
19950 3730 d 17 h amit.gupta /trunk/ added changes related to new company  
19832 3747 d 22 h amit.gupta /trunk/ Added unaccept order feature.  
19714 3761 d 16 h manish.sharma /trunk/ Committed by Manish Sharma for Return Process Implementation on May-9-2016  
19694 3764 d 17 h manish.sharma /trunk/PyProj/src/shop2020/model/v1/order/impl/ Committed by Manish Sharma for Return Process Implementation on May-5-2016  
19691 3765 d 23 h manish.sharma /trunk/ Committed by Manish Sharma for Return Process Implementation on May-5-2016  
19474 3786 d 22 h manish.sharma /trunk/ Committed by Manish Sharma for Logistics Costing Related Changes on Apr-14-2016  
19421 3789 d 20 h manish.sharma /trunk/ Committed by Manish Sharma for Logistics Costing Related Changes on Apr-11-2016  
19235 3808 d 19 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 3839 d 21 h manish.sharma /trunk/ Committed by Manish Sharma for Creditor Associate Process Implementation on Feb-21-2016  
18707 3844 d 20 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 3848 d 17 h amit.gupta /trunk/ Fixed due_date_days and ticket size  
18634 3850 d 15 h manish.sharma /trunk/ Committed by Manish Sharma for Creditor Associate Process Implementation on Feb-09-2016  
18592 3852 d 18 h amit.gupta /trunk/PyProj/src/shop2020/model/v1/order/impl/ Fixed String  
18591 3852 d 18 h manish.sharma /trunk/PyProj/src/shop2020/model/v1/order/impl/ Committed by Manish Sharma for Creditor Associate Process Implementation on Feb-08-2016