diff --git a/app/controllers/pets_controller.rb b/app/controllers/pets_controller.rb index 01fb67d5..5a92e031 100644 --- a/app/controllers/pets_controller.rb +++ b/app/controllers/pets_controller.rb @@ -13,7 +13,11 @@ class PetsController < ApplicationController redirect_to roulette_path else raise Pet::PetNotFound unless params[:name] - @pet = Pet.load(params[:name], :item_scope => Item.includes(:translations)) + @pet = Pet.load( + params[:name], + :item_scope => Item.includes(:translations), + :timeout => 1 + ) points = contribute(current_user, @pet) respond_to do |format|