Lin Jen-Shin
136dc79433
Have some simple way to create connection pool
2017-02-14 00:35:25 +08:00
Yorick Peterse
581cfbae24
Don't connect in Gitlab::Database.adapter_name
...
We don't need to connect when requesting the name of the database
adapter. This in turn should prevent us from requesting/leaking
connections just by asking whether we're using PostgreSQL or MySQL.
2017-02-13 17:13:02 +01:00
Douwe Maan
c8b63a28af
Improve performance of finding last deployed environment
2017-02-06 16:12:24 -06:00
Rémy Coutable
499bb9f305
Improve Issuable.order_labels_priority
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-06-06 11:59:49 -05:00
Robert Speicher
447568d15f
Fix undefined method `postgresql?` during migration
2016-02-15 14:13:47 -05:00
Robert Speicher
4105f292e1
Display database type and version in Administration dashboard
...
Closes #12900
2016-02-02 17:59:09 -05:00
Douwe Maan
13d6bab177
Tag lib specs
2015-12-09 11:55:42 +01:00
Yorick Peterse
85c6a3743a
Added methods for detecting MySQL/PostgreSQL
...
These two methods remove the need for manually going into
ActiveRecord::Base.connection all over the place.
2015-10-07 23:32:14 +02:00