summaryrefslogtreecommitdiff
path: root/lib/tasks/tokens.rake
diff options
context:
space:
mode:
authorYorick Peterse <yorickpeterse@gmail.com>2017-08-24 14:35:21 +0200
committerYorick Peterse <yorickpeterse@gmail.com>2017-08-24 20:22:16 +0200
commit167b9b81440017f5253efda4bb6566d12f0eedc8 (patch)
treeeadc56ab63940fbaa6abbd9d3267b983c0adaf4b /lib/tasks/tokens.rake
parentc8406ec3bf57acbaee8413772091ffc5ee9a30fb (diff)
downloadgitlab-ce-schema-cache.tar.gz
Enable caching of schema.rbschema-cache
This is a lesser known Rails feature that removes the need for querying various internal tables for schema details (e.g. column types) every time Rails boots up. This feature is described in http://iempire.ru/2016/12/13/schema-cache/ and was brought to our attention by @stanhu. Since the schema cache is specific to the database we only enable this on PostgreSQL.
Diffstat (limited to 'lib/tasks/tokens.rake')
0 files changed, 0 insertions, 0 deletions