Take the 2008 Git User's Survey and help out! [ hide ]

public
Description: A very fast & simple Ruby web server
Homepage: http://code.macournoyer.com/thin/
Clone URL: git://github.com/macournoyer/thin.git
Search Repo:
hack hack hack! sleeping 2 sec before testing swiftiply, pardon me Jesus 
for my sin!
macournoyer (author)
Sun Mar 02 10:09:01 -0800 2008
commit  aa53ea621b334d0be9f048b6e08dc2bf2bc9c57d
tree    162193a6498f48cb5594381ba600414c8f1ac6d1
parent  620fb83fdf1e7995545aa48f4af8ac477e9638d8
...
9
10
11
 
12
13
14
...
9
10
11
12
13
14
15
0
@@ -9,6 +9,7 @@ else
0
         exec "#{SWIFTIPLY_PATH} -c #{File.dirname(__FILE__)}/swiftiply.yml"
0
       end
0
       wait_for_socket('0.0.0.0', 3333)
0
+ sleep 2 # HACK ooh boy, I wish I knew how to make those specs more stable...
0
       start_server(Backends::SwiftiplyClient.new('0.0.0.0', 5555, nil), nil, false) do |env|
0
         body = env.inspect + env['rack.input'].read
0
         [200, { 'Content-Type' => 'text/html', 'Content-Length' => body.size.to_s }, body]

Comments

    No one has commented yet.