Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
35608 82 d 18 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
 
2747 5380 d 23 h chandranshu /trunk/ Added the missing links to create a refund  
1248 5495 d 23 h chandranshu /trunk/PyProj/src/shop2020/ Made database name a configurable parameter for Payment, Logistics and Helper service to ensure that test and development databases can be different  
1131 5506 d 17 h chandranshu /trunk/PyProj/src/shop2020/ Added pool_recycle parameter to the create_engine call  
1130 5506 d 18 h rajveer /trunk/PyProj/src/shop2020/payments/impl/ modified size of the description column to 200  
746 5555 d 23 h rajveer /trunk/PyProj/src/shop2020/ support mysql added for mysql  
743 5556 d 21 h rajveer /trunk/PyProj/src/shop2020/ Logistic provider addition to order, code moved to OrderService.  
703 5561 d 21 h chandranshu /trunk/PyProj/src/shop2020/payments/impl/ Removed some extraneous commas from the data service  
701 5561 d 21 h chandranshu /trunk/PyProj/src/shop2020/ Implemented all methods of the payment service  
420 5716 d 20 h ashish /trunk/ payment service