You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by cd...@apache.org on 2020/03/11 08:28:07 UTC

[plc4x] branch develop updated: - Increased the default delay in the SerialPollingSelector as it was causing problems otherwise

This is an automated email from the ASF dual-hosted git repository.

cdutz pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git


The following commit(s) were added to refs/heads/develop by this push:
     new f2d8a7c  - Increased the default delay in the SerialPollingSelector as it was causing problems otherwise
f2d8a7c is described below

commit f2d8a7c2f9d5b854822d489755ea3229a03b2460
Author: Christofer Dutz <ch...@c-ware.de>
AuthorDate: Wed Mar 11 09:28:00 2020 +0100

    - Increased the default delay in the SerialPollingSelector as it was causing problems otherwise
---
 .../org/apache/plc4x/java/transport/serial/SerialPollingSelector.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plc4j/transports/serial/src/main/java/org/apache/plc4x/java/transport/serial/SerialPollingSelector.java b/plc4j/transports/serial/src/main/java/org/apache/plc4x/java/transport/serial/SerialPollingSelector.java
index fdb5ce2..3c23dff 100644
--- a/plc4j/transports/serial/src/main/java/org/apache/plc4x/java/transport/serial/SerialPollingSelector.java
+++ b/plc4j/transports/serial/src/main/java/org/apache/plc4x/java/transport/serial/SerialPollingSelector.java
@@ -117,7 +117,7 @@ class SerialPollingSelector extends AbstractSelector {
 
     @Override
     public int select() {
-        return select(0);
+        return select(10);
     }
 
     @Override