From 565e48de649d3d14e6b82012b6aa2e3819a3c82c Mon Sep 17 00:00:00 2001 From: Roy Ben Shabat Date: Wed, 4 Mar 2020 14:09:45 +0200 Subject: Improved BitmapCliper. Implemented auto throw when max differences reached. Implemented fallback TurboJpeg encoder. Fixed issue with UpdateMachine.xml script removing DISPENSERS before IDS_PACKS. Added GlobalHost.Configuration.MaxIncomingWebSocketMessageSize for WebSockets support for large messages on SignalR. --- Software/Visual_Studio/Web/Tango.MachineService/Startup.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Software/Visual_Studio/Web/Tango.MachineService') diff --git a/Software/Visual_Studio/Web/Tango.MachineService/Startup.cs b/Software/Visual_Studio/Web/Tango.MachineService/Startup.cs index 8eeb65b78..2bd4fe872 100644 --- a/Software/Visual_Studio/Web/Tango.MachineService/Startup.cs +++ b/Software/Visual_Studio/Web/Tango.MachineService/Startup.cs @@ -1,4 +1,5 @@ -using Microsoft.Owin; +using Microsoft.AspNet.SignalR; +using Microsoft.Owin; using Microsoft.Owin.Cors; using Owin; using System; @@ -15,6 +16,7 @@ namespace Tango.MachineService { app.UseCors(CorsOptions.AllowAll); app.MapSignalR(); + GlobalHost.Configuration.MaxIncomingWebSocketMessageSize = null; // For more information on how to configure your application, visit https://go.microsoft.com/fwlink/?LinkID=316888 } } -- cgit v1.3.1