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/16 10:31:28 UTC
[plc4x] branch develop updated: - Switched back to short polling
(long-polling seems to have issues)
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 bd90056 - Switched back to short polling (long-polling seems to have issues)
bd90056 is described below
commit bd9005677768c2a40d8b98e7e757e4ee2843cea0
Author: Christofer Dutz <ch...@c-ware.de>
AuthorDate: Mon Mar 16 11:31:18 2020 +0100
- Switched back to short polling (long-polling seems to have issues)
---
plc4j/examples/hello-webapp/client/src/main/royale/App.mxml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/plc4j/examples/hello-webapp/client/src/main/royale/App.mxml b/plc4j/examples/hello-webapp/client/src/main/royale/App.mxml
index 74ec38b..19f956e 100644
--- a/plc4j/examples/hello-webapp/client/src/main/royale/App.mxml
+++ b/plc4j/examples/hello-webapp/client/src/main/royale/App.mxml
@@ -75,14 +75,14 @@
// Define the long-polling-channel.
/*var longPollingChannel:AMFChannel = new AMFChannel("longPollingAmf", appurl + "/messagebroker/long-polling-amf");
longPollingChannel.pollingEnabled = true;
- //longPollingChannel.pollingInterval = 10000;
+ longPollingChannel.pollingInterval = 5000;
longPollingChannel.useSmallMessages = true;
channelSet.addChannel(longPollingChannel);*/
// Define a short-polling-channel
var shortPollingChannel:AMFChannel = new AMFChannel("shortPollingAmf", appurl + "/messagebroker/short-polling-amf");
shortPollingChannel.pollingEnabled = true;
- shortPollingChannel.pollingInterval = 1000;
+ shortPollingChannel.pollingInterval = 500;
shortPollingChannel.useSmallMessages = true;
channelSet.addChannel(shortPollingChannel);