Commit graph

4 commits

Author SHA1 Message Date
John Cai
c77d7837bb Remove catfile cache feature flag 2019-07-15 11:32:56 -07:00
Felipe Artur
f7a92ff528 Add GetCommitSignatures feature flag
Adds feature flag for GetCommitSignatures which
got ported to go.

More info: https://gitlab.com/gitlab-org/gitaly/merge_requests/1283
2019-06-28 13:44:01 -03:00
Zeger-Jan van de Weg
4dfaaf40b9
Turn on Cat-File cache by default
The feature flag has been introduced an was turned off by default,
now the it will default to be turned on. That change would still allow
users to turn this feature off by leveraging the Rails console by
running:

`Feature.disable("gitaly_catfile-cache")`

Another option is to manage the number of items the LRU cache will
contain, by updating the `config.toml` for Gitaly. This would be the
`catfile_cache_size`:
0dcb5c579e/config.toml.example (L27)

Closes: https://gitlab.com/gitlab-org/gitaly/issues/1712
2019-06-18 13:33:43 +02:00
Zeger-Jan van de Weg
968674e417
Move Gitaly feature flag logic to Feature::Gitaly
The GitalyClient held a lot of logic which was all very tightly coupled.
In this instance the feature logic was extracted to make it do just a
little less and create a bit more focus in the GitalyClient's
responsibilies.
2019-06-18 13:18:18 +02:00