aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/controllers/packages_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/packages_controller.rb b/app/controllers/packages_controller.rb
index ee098ae..a972fcd 100644
--- a/app/controllers/packages_controller.rb
+++ b/app/controllers/packages_controller.rb
@@ -35,7 +35,7 @@ class PackagesController < ApplicationController
@package = Package.find_by(:atom, params[:id])
fail ActionController::RoutingError, 'No such package' unless @package
- @changelog = Rails.cache.fetch("changelog/#{@package.atom}", expires_in: 10.minutes) do
+ @changelog = Rails.cache.fetch("changelog/#{@package.atom}") do
Portage::Util::History.for(@package.category, @package.name, 5)
end