I used ServiceStack OrmLite to access AWS MySQL , when a API request returned the data. There are lots of MySql connections in sleep state.
How to close those db connections when ending a request ?
public object Get(GetCustomer request)
I found the reason. I register some interface without scope. the correct method is:
Default reuse scope is