Commit Graph

11 Commits

Author SHA1 Message Date
Gabriel Mazetto 3a93bae25f Few minor fixes to Redis params order and commented out sentinel config
in resque.yml.example

Codestyle changes
2016-08-04 18:55:37 +02:00
Gabriel Mazetto 67ae8adc72 Fixed MailRoom specs and make sure it works with new resque.yml format
Some codestyle changes
2016-08-04 18:55:37 +02:00
Gabriel Mazetto 6f31879508 Fixed specs for Gitlab::Redis and code for Redis Sentinel support 2016-08-04 18:55:37 +02:00
Gabriel Mazetto ef6043880e Specs for RedisConfig
Make sure :url is not present on RedisConfig.params after parsing
2016-08-04 18:55:37 +02:00
Gabriel Mazetto 926cee002d Deduplicated resque.yml loading from several places
We will trust redis configuration params loading to Gitlab::RedisConfig.
2016-08-04 18:55:37 +02:00
Gabriel Mazetto f5a0ac0fc1 Codestyle: make sure we have space around operators 2016-05-13 04:46:56 -03:00
Connor Shea 9cc0937b3a Enable the Rubocop DeprecatedClassMethods cop
This reports uses of `File.exists?` and `Dir.exists?`, which were both
deprecated in Ruby and will eventually be removed in favor of
`.exist?`. Also fixes all existing uses of the deprecated methods.
2016-05-08 15:33:34 -06:00
Valery Sizov 2244aaf98f Redis configuration consistency 2016-04-13 20:57:19 +03:00
Jacob Vosmaer cf669551f6 Put CACHE_NAMESPACE in the Gitlab::Redis module 2016-04-07 15:42:07 +02:00
Jacob Vosmaer 213ee62469 Be careful when setting class instance vars 2016-04-04 17:01:56 +02:00
Jacob Vosmaer 0163e27631 Add Gitlab::Redis connection pool 2016-04-04 17:00:09 +02:00