Merge pull request #280 from fjcyue/master
using reader idle to trigger the will message.
This commit is contained in:
@@ -446,7 +446,7 @@ public class ProtocolProcessor {
|
||||
if (pipeline.names().contains("idleStateHandler")) {
|
||||
pipeline.remove("idleStateHandler");
|
||||
}
|
||||
pipeline.addFirst("idleStateHandler", new IdleStateHandler(0, 0, idleTime));
|
||||
pipeline.addFirst("idleStateHandler", new IdleStateHandler(idleTime, 0, 0));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user