Skip to content

Commit

Permalink
[webui] And another expiry...
Browse files Browse the repository at this point in the history
  • Loading branch information
saschpe committed Jan 24, 2012
1 parent a101239 commit 90e54fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/webui/app/models/project.rb
Expand Up @@ -427,7 +427,7 @@ def packages

def issues
return Rails.cache.fetch("changes_and_patchinfo_issues_#{self.name}", :expires_in => 5.minutes) do
issues = Project.find_cached(:issues, :name => self.name)
issues = Project.find_cached(:issues, :name => self.name, :expires_in => 5.minutes)
if issues
changes_issues, patchinfo_issues = {}, {}
issues.each(:package) do |package|
Expand Down

0 comments on commit 90e54fe

Please sign in to comment.