Support for postgres connection pooling
vibhugarg123 opened this issue · comments
How can we add max idle connection, database max connections, database idle connections, DB connection max lifetime to postgres?
P.S-:)Using github.com/casbin/gorm-adapter/v2 v2.0.0
@vibhugarg123 can you make a PR to expose the postgres handle public? Then you can set its value by yourself.
@vibhugarg123 we only develop on master (which is v3 now), can you migrate to use v3 instead?
@hsluoyz If I migrate to v3, I need to change in a lot of services, which would be a big change for me. It would be great if you can create a v2 branch out of the latest v2 version tag & I can raise it on top of it.
@vibhugarg123 we have released v3.x for two years. We won't maintain v2 branch any more. You can fork the v2 code and commit it by yourself.