Permalink
Browse files

disable expeditor for a while

  • Loading branch information...
sorah committed Oct 31, 2015
1 parent 1078809 commit b459b8e67763f840cce4f7ba813ee24d5ad151dc
Showing with 4 additions and 4 deletions.
  1. +4 −4 5f/webapp/ruby/app.rb
View
@@ -257,14 +257,14 @@ def fetch_api(method, uri, headers, params)
arg = JSON.parse(arg_json)
data = arg.map do |service, conf|
Expeditor::Command.new do
#Expeditor::Command.new do
endpoint = Isucon5f::Endpoint.get(service)
{"service" => service, "data" => endpoint.fetch(conf)}
end
#end
end
data.each(&:start)
json data.map(&:get)
#data.each(&:start)
json data#.map(&:get)
end
get '/initialize' do

0 comments on commit b459b8e

Please sign in to comment.