Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
nexedi
gitlab-ce
Commits
472a6a1c
Unverified
Commit
472a6a1c
authored
8 years ago
by
Rémy Coutable
Browse files
Options
Download
Email Patches
Plain Diff
Used cached value of project count to reduce DB load
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
0f4ff69f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
CHANGELOG
CHANGELOG
+1
-0
app/views/admin/dashboard/index.html.haml
app/views/admin/dashboard/index.html.haml
+1
-1
No files found.
CHANGELOG
View file @
472a6a1c
...
...
@@ -90,6 +90,7 @@ v 8.11.0 (unreleased)
- Sort folders with submodules in Files view !5521
v 8.10.5 (unreleased)
- Cache project count for 5 minutes to reduce DB load
v 8.10.4
- Don't close referenced upstream issues from a forked project.
...
...
This diff is collapsed.
Click to expand it.
app/views/admin/dashboard/index.html.haml
View file @
472a6a1c
...
...
@@ -112,7 +112,7 @@
%h4
Projects
.data
=
link_to
admin_namespaces_projects_path
do
%h1
=
number_with_delimiter
(
Project
.
count
)
%h1
=
number_with_delimiter
(
Project
.
cached_
count
)
%hr
=
link_to
(
'New Project'
,
new_project_path
,
class:
"btn btn-new"
)
.col-sm-4
...
...
This diff is collapsed.
Click to expand it.
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