Subversion Repositories SmartDukaan

Rev

Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
35718 69 d 19 h amit /trunk/PyProj/src/shop2020/ fix: use session.remove() instead of session.close() to prevent memory leaks in all services  
35701 70 d 2 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 82 d 2 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
 
23839 2848 d 8 h amit.gupta /trunk/ changed mail domain profitmandi.com -> smartdukaan.com  
23356 2988 d 0 h amit.gupta /trunk/ Changed sms id.  
22768 3093 d 23 h amit.gupta /trunk/PyProj/src/shop2020/helpers/impl/  
22759 3094 d 7 h amit.gupta /trunk/PyProj/src/shop2020/helpers/impl/  
22469 3134 d 8 h amit.gupta /trunk/PyProj/src/shop2020/helpers/impl/  
22397 3146 d 9 h amit.gupta /trunk/PyProj/src/shop2020/ Minor changes related to mail and messaging  
22395 3146 d 9 h amit.gupta /trunk/PyProj/src/shop2020/helpers/impl/  
21454 3265 d 8 h amit.gupta /trunk/PyProj/src/shop2020/ Order creation changes  
20471 3455 d 7 h amit.gupta /trunk/PyProj/src/shop2020/helpers/impl/ added password  
20244 3548 d 9 h amit.gupta /trunk/PyProj/src/shop2020/helpers/impl/ Fixed email sender  
20242 3550 d 5 h amit.gupta /trunk/PyProj/src/shop2020/helpers/impl/ Fixed email sender and sms sender logic  
16445 3896 d 3 h manish.sharma /trunk/PyProj/src/shop2020/helpers/impl/ Committed by Manish Sharma for Profit Mandi Email Sender on 20-Aug-2015  
16444 3896 d 3 h manish.sharma /trunk/PyProj/src/shop2020/helpers/impl/ Committed by Manish Sharma for Profit Mandi Email Sender on 20-Aug-2015  
16443 3896 d 3 h manish.sharma /trunk/PyProj/src/shop2020/helpers/impl/ Committed by Manish Sharma for Profit Mandi Email Sender on 20-Aug-2015  
16442 3896 d 3 h manish.sharma /trunk/PyProj/src/shop2020/helpers/impl/ Committed by Manish Sharma for Profit Mandi Email Sender on 20-Aug-2015  
16441 3896 d 3 h manish.sharma /trunk/PyProj/src/shop2020/helpers/impl/ Committed by Manish Sharma for Profit Mandi Email Sender on 20-Aug-2015  
16438 3896 d 4 h manish.sharma /trunk/PyProj/src/shop2020/helpers/impl/ Committed by Manish Sharma for Profit Mandi Email Sender on 20-Aug-2015  

Show All