Permalink
Browse files

disable new dependency API for now until fires are put out

  • Loading branch information...
1 parent 9918aba commit a4a1a45e374f7e721b8027b5333c1d471f5a9690 @qrush qrush committed Oct 17, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 app/controllers/api/v1/dependencies_controller.rb
@@ -1,5 +1,7 @@
class Api::V1::DependenciesController < Api::BaseController
def index
+ render :text => "Dependency API disabled temporarily for performance reasons", :status => 503 and return
+
gem_list = (params[:gems] || '').split(',')
if gem_list.size <= Dependency::LIMIT

0 comments on commit a4a1a45

Please sign in to comment.