From 023ac47eb741732ffa3b1887312fe1fb73927885 Mon Sep 17 00:00:00 2001 From: et-nik Date: Sun, 25 Feb 2024 23:02:55 +0100 Subject: [PATCH] console log fix --- internal/app/di/internal/definitions/services.go | 2 +- internal/processmanager/systemd.go | 2 +- internal/processmanager/tmux.go | 2 +- internal/processmanager/winsw.go | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/internal/app/di/internal/definitions/services.go b/internal/app/di/internal/definitions/services.go index aab3e12..fcb4483 100644 --- a/internal/app/di/internal/definitions/services.go +++ b/internal/app/di/internal/definitions/services.go @@ -49,7 +49,7 @@ func CreateServicesAPICaller(ctx context.Context, c Container) contracts.APIRequ } func CreateServicesExecutor(_ context.Context, _ Container) contracts.Executor { - return components.NewExecutor() + return components.NewCleanExecutor() } func CreateServiceExtendableExecutor(ctx context.Context, c Container) contracts.Executor { diff --git a/internal/processmanager/systemd.go b/internal/processmanager/systemd.go index acd3df6..ea95e8a 100644 --- a/internal/processmanager/systemd.go +++ b/internal/processmanager/systemd.go @@ -30,7 +30,7 @@ const ( statusNotRunning = 3 statusServiceUnknown = 4 - outputSizeLimit = 10000 + outputSizeLimit = 30000 ) type SystemD struct { diff --git a/internal/processmanager/tmux.go b/internal/processmanager/tmux.go index 3b9dde2..60561b1 100644 --- a/internal/processmanager/tmux.go +++ b/internal/processmanager/tmux.go @@ -21,7 +21,7 @@ import ( const ( defaultWidth = 200 - defaultHistoryLimit = 1000 + defaultHistoryLimit = 30000 ) type Tmux struct { diff --git a/internal/processmanager/winsw.go b/internal/processmanager/winsw.go index 7f31de0..4160e70 100644 --- a/internal/processmanager/winsw.go +++ b/internal/processmanager/winsw.go @@ -27,7 +27,7 @@ const ( servicesConfigPath = "C:\\gameap\\services" servicePrefix = "gameapServer" - outputSizeLimit = 10000 + outputSizeLimit = 30000 ) type WinSW struct {