]> source.dussan.org Git - gitea.git/commit
Expose db.SetMaxOpenConns and allow non MySQL dbs to set conn pool params (#8528)
authorzeripath <art27@cantab.net>
Mon, 21 Oct 2019 21:20:47 +0000 (22:20 +0100)
committerGitHub <noreply@github.com>
Mon, 21 Oct 2019 21:20:47 +0000 (22:20 +0100)
commitd8161ee3fd5d2991f70523b03421af4e6cf5b513
treea8b50be951b69c6d2a10ebaf514ed2bede7f750b
parent73f8069249f2b88bbe42a8fc3db06f0e91719200
Expose db.SetMaxOpenConns and allow non MySQL dbs to set conn pool params (#8528)

* Expose db.SetMaxOpenConns and allow other dbs to set their connection params
* Add note about port exhaustion

Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>
custom/conf/app.ini.sample
docs/content/doc/advanced/config-cheat-sheet.en-us.md
models/models.go
modules/setting/database.go