aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Web/Tango.MachineService
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2020-03-04 14:09:45 +0200
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2020-03-04 14:09:45 +0200
commit565e48de649d3d14e6b82012b6aa2e3819a3c82c (patch)
tree16e766f6bd45e62c48d6046a21841526aafaed73 /Software/Visual_Studio/Web/Tango.MachineService
parentb0ccae10fa6025838195c42fa6c9dd72b4321579 (diff)
downloadTango-565e48de649d3d14e6b82012b6aa2e3819a3c82c.tar.gz
Tango-565e48de649d3d14e6b82012b6aa2e3819a3c82c.zip
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.
Diffstat (limited to 'Software/Visual_Studio/Web/Tango.MachineService')
-rw-r--r--Software/Visual_Studio/Web/Tango.MachineService/Startup.cs4
1 files changed, 3 insertions, 1 deletions
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
}
}