about summary refs log tree commit homepage
path: root/lib/rainbows/xepoll.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rainbows/xepoll.rb')
-rw-r--r--lib/rainbows/xepoll.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/rainbows/xepoll.rb b/lib/rainbows/xepoll.rb
index a0dc65b..b99a66d 100644
--- a/lib/rainbows/xepoll.rb
+++ b/lib/rainbows/xepoll.rb
@@ -19,14 +19,14 @@ module Rainbows::XEpoll
 
   def init_worker_process(worker)
     super
-    Rainbows::Epoll.const_set :EP, SleepyPenguin::Epoll.new
-    Rainbows.at_quit { Rainbows::Epoll::EP.close }
+    Rainbows.const_set(:EP, SleepyPenguin::Epoll.new)
+    Rainbows.at_quit { Rainbows::EP.close }
     Rainbows::Client.__send__ :include, Client
   end
 
   def worker_loop(worker) # :nodoc:
     init_worker_process(worker)
-    Client.run
+    Client.loop
   end
   # :startdoc:
 end