Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/src/org/jruby/RubyThread.java b/src/org/jruby/RubyThread.java
- index a8a93f8..b6015b8 100644
- --- a/src/org/jruby/RubyThread.java
- +++ b/src/org/jruby/RubyThread.java
- @@ -780,7 +780,7 @@ public class RubyThread extends RubyObject {
- SelectionKey key = selectable.register(currentSelector, SelectionKey.OP_ACCEPT);
- - int result = currentSelector.select();
- + int result = currentSelector.select(100);
- if (result == 1) {
- Set<SelectionKey> keySet = currentSelector.selectedKeys();
Add Comment
Please, Sign In to add comment