Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
7fab63b4
Commit
7fab63b4
authored
Apr 23, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'namespace_redis_cache' into 'master'
Give the Rails cache its own Redis namespace
parents
14c96749
8d78662e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
CHANGELOG
CHANGELOG
+1
-0
config/environments/production.rb
config/environments/production.rb
+1
-1
config/initializers/session_store.rb
config/initializers/session_store.rb
+1
-1
No files found.
CHANGELOG
View file @
7fab63b4
...
@@ -17,6 +17,7 @@ v 6.8.0
...
@@ -17,6 +17,7 @@ v 6.8.0
- Fix download link for huge MR diffs
- Fix download link for huge MR diffs
- Expose event and mergerequest timestamps in API
- Expose event and mergerequest timestamps in API
- Fix emails on push service when only one commit is pushed
- Fix emails on push service when only one commit is pushed
- Store Rails cache data in the Redis `cache:gitlab` namespace
v 6.7.3
v 6.7.3
- Fix the merge notification email not being sent (Pierre de La Morinerie)
- Fix the merge notification email not being sent (Pierre de La Morinerie)
...
...
config/environments/production.rb
View file @
7fab63b4
...
@@ -53,7 +53,7 @@ Gitlab::Application.configure do
...
@@ -53,7 +53,7 @@ Gitlab::Application.configure do
else
else
"redis://localhost:6379"
"redis://localhost:6379"
end
end
config
.
cache_store
=
:redis_store
,
resque_url
config
.
cache_store
=
:redis_store
,
resque_url
,
{
namespace:
'cache:gitlab'
}
# Enable serving of images, stylesheets, and JavaScripts from an asset server
# Enable serving of images, stylesheets, and JavaScripts from an asset server
# config.action_controller.asset_host = "http://assets.example.com"
# config.action_controller.asset_host = "http://assets.example.com"
...
...
config/initializers/session_store.rb
View file @
7fab63b4
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
Gitlab
::
Application
.
config
.
session_store
(
Gitlab
::
Application
.
config
.
session_store
(
:redis_store
,
# Using the cookie_store would enable session replay attacks.
:redis_store
,
# Using the cookie_store would enable session replay attacks.
servers:
Gitlab
::
Application
.
config
.
cache_store
.
last
,
# re-use the Redis config from the Rails cache store
servers:
Gitlab
::
Application
.
config
.
cache_store
[
1
]
,
# re-use the Redis config from the Rails cache store
key:
'_gitlab_session'
,
key:
'_gitlab_session'
,
secure:
Gitlab
.
config
.
gitlab
.
https
,
secure:
Gitlab
.
config
.
gitlab
.
https
,
httponly:
true
,
httponly:
true
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment