summaryrefslogtreecommitdiff
path: root/sample/drb/http0serv.rb
diff options
context:
space:
mode:
Diffstat (limited to 'sample/drb/http0serv.rb')
-rw-r--r--sample/drb/http0serv.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/sample/drb/http0serv.rb b/sample/drb/http0serv.rb
index 9503a17..049f5a1 100644
--- a/sample/drb/http0serv.rb
+++ b/sample/drb/http0serv.rb
@@ -18,7 +18,7 @@ module DRb
def initialize(config, drb)
@config = config
@drb = drb
- @queue = Queue.new
+ @queue = Thread::Queue.new
end
def do_POST(req, res)
@@ -46,7 +46,7 @@ module DRb
def initialize(uri, config)
@uri = uri
@config = config
- @queue = Queue.new
+ @queue = Thread::Queue.new
setup_webrick(uri)
end
attr_reader :uri