Skip to content

Commit

Permalink
disable new dependency API for now until fires are put out
Browse files Browse the repository at this point in the history
  • Loading branch information
qrush committed Oct 17, 2012
1 parent 9918aba commit a4a1a45
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions 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
Expand Down

0 comments on commit a4a1a45

Please sign in to comment.