From: Kevin Clark Date: Wed, 18 Jun 2008 01:19:33 +0000 (+0000) Subject: rb: flush STDOUT after starting the benchmark server to properly kickstart the benchmark X-Git-Tag: 0.2.0~521 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=1e8f5208e64b54a5c683e730dbb296f7211427dd;p=common%2Fthrift.git rb: flush STDOUT after starting the benchmark server to properly kickstart the benchmark git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@669030 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/lib/rb/benchmark/server.rb b/lib/rb/benchmark/server.rb index e26e4069..5162ac23 100644 --- a/lib/rb/benchmark/server.rb +++ b/lib/rb/benchmark/server.rb @@ -53,6 +53,7 @@ end # let our host know that the interpreter has started # ideally we'd wait until the server was serving, but we don't have a hook for that Marshal.dump(:started, STDOUT) +STDOUT.flush host, port, serverklass = ARGV