Project activities perfomance increased. Cache for project activitites disabled. Repository conception changed
This commit is contained in:
parent
ac62036320
commit
0ebc610e49
10 changed files with 64 additions and 4 deletions
|
@ -69,7 +69,7 @@ class ProjectsController < ApplicationController
|
|||
def show
|
||||
return render "projects/empty" unless @project.repo_exists? && @project.has_commits?
|
||||
limit = (params[:limit] || 20).to_i
|
||||
@activities = @project.cached_updates(limit)
|
||||
@activities = @project.updates_wo_repo(limit)
|
||||
end
|
||||
|
||||
def files
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue