Commit graph

22 commits

Author SHA1 Message Date
connorshea
44d9f52fd9 Enable asset compression in production.
`config.assets.compress` needed to be explicitly enabled.

Follow-up to !3544. Resolves #14344.
2016-04-09 16:31:41 -06:00
Valery Sizov
f21bbd4444 Rails deprecation warning about log_level 2015-12-03 10:53:58 +02:00
Valery Sizov
7f214cee74 Migrate mailers to ActiveJob 2015-11-26 17:03:43 +02:00
Valery Sizov
40ff1318d2 Rails update to 4.2.4 2015-11-25 18:18:44 +02:00
Alexander Balashov
d0f6654e9c Remove useless assets.compress option, Rails 4 uses only assets.js_compressor
> The config.assets.compress option should be changed to config.assets.js_compressor like so for instance
2014-11-18 10:12:05 +03:00
Jacob Vosmaer
9122823afc Configure Redis cache for all environments
Also add support for connecting to Redis with Unix sockets.
2014-08-26 13:44:39 +02:00
Marin Jankovski
e18d5be55a Remove active_record.auto_explain_treshold_in_seconds, rails 4.0 deprecation 2014-06-03 11:37:23 +02:00
Jacob Vosmaer
8d78662e69 Give the Rails cache its own Redis namespace
Before this change, Rails cache data was stored in a global Redis
namespace. As a consequence, clearing the Rails cache (`rake
cache:clear`) would also delete all Sidekiq queue data and session
storage. This change puts all Rails cache data in a `cache:gitlab`
namespace, making `rake cache:clear` safe again.
2014-04-15 15:53:14 +02:00
Jacob Vosmaer
7862201de9 Add source for 'Rendered' message suppression 2014-03-24 09:57:28 +01:00
Jacob Vosmaer
b816389182 Suppress 'Rendered' messages in production.log 2014-03-24 09:56:26 +01:00
Dmitriy Zaporozhets
5ffce6a65e GitLab app is not threadsafe so better disable allow_concurrency for production env
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2013-12-10 12:11:28 +02:00
Dmitriy Zaporozhets
ede272406a Update config/* to rails4
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2013-12-10 12:11:27 +02:00
Robin Gloster
2b904cb34f Fix caching when using remote redis server 2013-08-14 00:02:27 +02:00
Dmitriy Zaporozhets
66d6c80966 Disable threadsafety 2013-07-08 18:24:02 +03:00
Dmitriy Zaporozhets
2c3ddacbd7 Disable threadsafe! for rake tasks 2013-06-13 09:58:03 +03:00
Dmitriy Zaporozhets
5511a731bc Enable threadsafe. Preload lib/ 2013-06-11 18:03:13 +03:00
Andrey Kumanyaev
67ccc8b52a Replace old hashes with new 1.9 ruby hashes (rebase) 2013-05-05 18:01:10 +04:00
Dmitriy Zaporozhets
4c1538a946 Use redis as cache storage. cache events 2013-03-06 17:30:48 +02:00
Riyad Preukschas
527d223680 Update Rails config 2012-11-18 21:51:53 +01:00
Dmitriy Zaporozhets
8ad1f8a474 activities page caching 2011-11-27 14:53:12 +02:00
Nihad Abbasov
d62200cad4 clean-up code
* Remove trailing whitespace
  * Converts hard-tabs into two-space soft-tabs
  * Remove consecutive blank lines
2011-10-26 18:46:25 +05:00
gitlabhq
9ba1224867 init commit 2011-10-09 00:36:38 +03:00