Commit Graph

23 Commits

Author SHA1 Message Date
Douwe Maan e5ac06447e Fix config/mail_room.yml to be interpretable Ruby 2017-03-15 16:21:55 -06:00
Douwe Maan 4eb24c3161 Verify config/mail_room.yml is interpretable Ruby 2017-03-15 16:21:45 -06:00
Douwe Maan f88ff0cc0c Stylistic tweaks 2017-02-23 09:33:20 -06:00
Douwe Maan 75f5fa997d Enable Rails/Delegate 2017-02-23 09:32:42 -06:00
Douwe Maan b7d8df503c Enable Style/MutableConstant 2017-02-23 09:31:56 -06:00
Semyon Pupkov a532c6040c Allow to use ENV variables in redis config 2017-01-13 10:41:50 +05:00
Gabriel Mazetto f9126fbe0a Updated mail_room and added sentinel support to Reply by Email 2016-10-26 05:02:47 +02:00
Paco Guzman 640a4c8834 Use higher size on Gitlab::Redis connection pool on Sidekiq servers 2016-10-06 10:50:03 +02:00
Jacob Vosmaer 52ee85e7bf Initialize Redis pool in single-threaded context
This side-steps the need for mutexes and whatnot.
2016-09-30 12:27:43 +02:00
Jacob Vosmaer b228b86b3e Make Gitlab::Redis.params safe for mutation 2016-09-22 15:58:40 +02:00
Gabriel Mazetto ed0a7c254a Small refactor in Redis class and improved specs 2016-08-06 04:15:16 +02:00
Gabriel Mazetto ce41b5c73f Small refactor and a few documentation fixes 2016-08-04 19:02:39 +02:00
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