Commit graph

23 commits

Author SHA1 Message Date
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
Jan-Willem van der Meer
88773498b9 Disable debug assets
It's good for debugging javacsript, but creates massive amounts of http request
by adding each javascript individually. Only turn it on while debugging js code.
2014-08-12 18:10:16 +02:00
Dmitriy Zaporozhets
f86afb732b
Fix dev env. Fix MR creation
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-06-26 18:40:13 +03: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
Jeroen van Baarsen
81fc5137ac Fixed the WhiningNill deprecation fix 2013-12-10 12:11:27 +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
Nihad Abbasov
83efcabc82 set activerecord whitelist_attributes to true 2012-09-26 11:18:35 -07:00
Dmitriy Zaporozhets
bc3735004c Moving to rails 3.2 2012-02-11 20:34:25 +02:00
Dmitriy Zaporozhets
8ad1f8a474 activities page caching 2011-11-27 14:53:12 +02:00
Nihad Abbasov
3f24f54061 install letter_opener 2011-10-31 16:20:41 +04: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