fixed broken broadcast events

events don't get out of order when a invalid event line throws exception
handle the stats history update with no change throwing DBConcurrencyException
This commit is contained in:
RaidMax
2018-08-31 22:35:51 -05:00
parent 46bdc2ac33
commit cc7628d058
11 changed files with 126 additions and 67 deletions

View File

@ -2,10 +2,7 @@
using SharedLibraryCore.Interfaces;
using System;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Net.Http;
using System.Text;
namespace IW4MAdmin.Application.IO
{
@ -76,7 +73,6 @@ namespace IW4MAdmin.Application.IO
{
try
{
// todo: catch elsewhere
var e = Parser.GetEvent(server, eventLine);
#if DEBUG == true
server.Logger.WriteDebug($"Parsed event with id {e.Id} from http");