Code Review
/
common
/
thrift.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
ca8a1b3
)
rb: Stop using fastthread, it seems to give no benefit and in fact has a bug
author
Kevin Clark
<kclark@apache.org>
Wed, 18 Jun 2008 01:17:14 +0000
(
01:17
+0000)
committer
Kevin Clark
<kclark@apache.org>
Wed, 18 Jun 2008 01:17:14 +0000
(
01:17
+0000)
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@669008
13f79535
-47bb-0310-9956-
ffa450edef68
lib/rb/lib/thrift/server.rb
patch
|
blob
|
history
diff --git
a/lib/rb/lib/thrift/server.rb
b/lib/rb/lib/thrift/server.rb
index
95258f0
..
62d210b
100644
(file)
--- a/
lib/rb/lib/thrift/server.rb
+++ b/
lib/rb/lib/thrift/server.rb
@@
-48,11
+48,9
@@
module Thrift
deprecate_class! :TSimpleServer => SimpleServer
end
-begin
- require 'fastthread'
-rescue LoadError
- require 'thread'
-end
+# do *not* use fastthread
+# it has a bug that triggers on NonblockingServer
+require 'thread'
module Thrift
class ThreadedServer < Server