Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

correctly enable epoll

  • Loading branch information...
commit 12aa66035f45c0babf537774f04927cde6aacbcb 1 parent 9d8535e
@tobi authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  chat.rb
View
3  chat.rb
@@ -86,15 +86,14 @@ def process_http_request
end
+EventMachine.epoll
EventMachine::run {
- EventMachine.epoll
EventMachine::start_server("0.0.0.0", 8080, Chatter)
puts "Listening on 8080..."
}
-
__END__
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
Please sign in to comment.
Something went wrong with that request. Please try again.