Adjusted log levels. Reverted signalr test change
This commit is contained in:
@@ -132,7 +132,7 @@ public class ServersController : Controller
|
||||
{
|
||||
parameters.Add("type", "websocket");
|
||||
parameters.Add("serverId", server.Id);
|
||||
}, TimeSpan.FromSeconds(30));
|
||||
}, TimeSpan.FromMinutes(15)); // TODO: Configurable
|
||||
|
||||
var url = "";
|
||||
|
||||
|
||||
@@ -86,7 +86,7 @@ public partial class Server
|
||||
|
||||
StateMachine.OnTransitioned(transition =>
|
||||
{
|
||||
Logger.LogInformation(
|
||||
Logger.LogDebug(
|
||||
"{source} => {destination} ({trigger})",
|
||||
transition.Source,
|
||||
transition.Destination,
|
||||
@@ -96,7 +96,7 @@ public partial class Server
|
||||
|
||||
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
|
||||
|
||||
@@ -53,7 +53,7 @@ public class DockerImageService
|
||||
|
||||
var line = $"[{message.ID}] {message.ProgressMessage}";
|
||||
|
||||
Logger.LogInformation("{line}", line);
|
||||
Logger.LogDebug("{line}", line);
|
||||
|
||||
if (onProgressUpdated != null)
|
||||
onProgressUpdated.Invoke(line);
|
||||
|
||||
@@ -89,7 +89,7 @@ public class Startup
|
||||
{
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user