Skip to content

Commit

Permalink
correctly enable epoll
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias Lütke committed Sep 11, 2009
1 parent 9d8535e commit 12aa660
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions chat.rb
Expand Up @@ -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">
Expand Down

0 comments on commit 12aa660

Please sign in to comment.