You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by sr...@apache.org on 2022/10/28 18:07:59 UTC

[plc4x] 05/05: feat(plc4xbrowser): set default output lines for outputs to now crash application on long sessions

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

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

commit 23fcdce5f739aab1ba3087af56dde5ca163036d5
Author: Sebastian Rühl <sr...@apache.org>
AuthorDate: Fri Oct 28 18:55:26 2022 +0200

    feat(plc4xbrowser): set default output lines for outputs to now crash application on long sessions
---
 plc4go/tools/plc4xbrowser/ui/config.go | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/plc4go/tools/plc4xbrowser/ui/config.go b/plc4go/tools/plc4xbrowser/ui/config.go
index d10f990ec..1ec878825 100644
--- a/plc4go/tools/plc4xbrowser/ui/config.go
+++ b/plc4go/tools/plc4xbrowser/ui/config.go
@@ -31,7 +31,10 @@ import (
 
 var plc4xBrowserConfigDir string
 var configFile string
-var config Config
+var config = Config{
+	MaxConsoleLines: 500,
+	MaxOutputLines:  500,
+}
 
 type Config struct {
 	History struct {