Conversation
|
For some reason, on my Mac (which is shite for networking anyway) the tests are quite flakey: |
|
I especially don't understand (3) above. |
|
@ioquatix the test suite has pretty much always been buggy on OS X, and the failures are both sporadic and very difficult to reproduce in something like a pry session I'll get around to reviewing this soon, I hope |
|
Awesome - it's not actually that urgent, because I need to support backwards compatibility for a long time, but if we can merge this and then do a minor release bump I can target it from async which will simplify the code a bit. I was also thinking about this a bit more - if the interests are set to 0, does the IO actually get scheduled? I see we add and remove it every time the interests change, but we don't actually check the interests were different or if they were 0 or not. Just wondering if it would make sense to handle these cases in nio4r or whether it's better just to leave it to |
|
I may take another look at the test suite to see if I can isolate the issue, it's helpful to know it's a known issue. Thanks. |
|
@tarcieri Can you please review this and merge? It's a really simple change, but I think it's wise to have a 2nd set of eyes. If you can't do it let me know and I'll see if someone else is interested. |
|
Haha wow indeed, that is small. Sorry for taking so long to review it |
## 2.3.0 (2018-03-15) * [#183](socketry/nio4r#183) Allow `Monitor#interests` to be nil ([@ioquatix])
Fixes #138