Adjusted log levels. Reverted signalr test change

This commit is contained in:
2025-04-15 14:46:13 +02:00
parent b4f219a704
commit c1820bd4ed
4 changed files with 5 additions and 5 deletions

View File

@@ -132,7 +132,7 @@ public class ServersController : Controller
{ {
parameters.Add("type", "websocket"); parameters.Add("type", "websocket");
parameters.Add("serverId", server.Id); parameters.Add("serverId", server.Id);
}, TimeSpan.FromSeconds(30)); }, TimeSpan.FromMinutes(15)); // TODO: Configurable
var url = ""; var url = "";

View File

@@ -86,7 +86,7 @@ public partial class Server
StateMachine.OnTransitioned(transition => StateMachine.OnTransitioned(transition =>
{ {
Logger.LogInformation( Logger.LogDebug(
"{source} => {destination} ({trigger})", "{source} => {destination} ({trigger})",
transition.Source, transition.Source,
transition.Destination, transition.Destination,
@@ -96,7 +96,7 @@ public partial class Server
StateMachine.OnTransitionCompleted(transition => StateMachine.OnTransitionCompleted(transition =>
{ {
Logger.LogInformation("State: {state}", transition.Destination); Logger.LogDebug("State: {state}", transition.Destination);
}); });
// Proxy the events so outside subscribes can react to it and notify websockets // Proxy the events so outside subscribes can react to it and notify websockets

View File

@@ -53,7 +53,7 @@ public class DockerImageService
var line = $"[{message.ID}] {message.ProgressMessage}"; var line = $"[{message.ID}] {message.ProgressMessage}";
Logger.LogInformation("{line}", line); Logger.LogDebug("{line}", line);
if (onProgressUpdated != null) if (onProgressUpdated != null)
onProgressUpdated.Invoke(line); onProgressUpdated.Invoke(line);

View File

@@ -89,7 +89,7 @@ public class Startup
{ {
WebApplicationBuilder.WebHost.ConfigureKestrel(options => WebApplicationBuilder.WebHost.ConfigureKestrel(options =>
{ {
options.Limits.MaxRequestBodySize = ByteConverter.FromMegaBytes(Configuration.Files.UploadLimit).Bytes; options.Limits.MaxRequestBodySize = ByteConverter.FromMegaBytes(Configuration.Files.UploadChunkSize).Bytes;
}); });
return Task.CompletedTask; return Task.CompletedTask;