potentially fix staticfileserver crashes

This commit is contained in:
rootdarkarchon
2023-04-08 13:59:20 +02:00
parent 89a384005e
commit abda79a15a

View File

@@ -147,6 +147,8 @@ public class RequestQueueService : IHostedService
MaxDegreeOfParallelism = 10,
},
async (i) =>
{
try
{
if (!_queue.Any()) return;
@@ -175,6 +177,11 @@ public class RequestQueueService : IHostedService
}
}
}
}
catch (Exception ex)
{
_logger.LogWarning(ex, "Error during inside queue processing");
}
});
}
catch (Exception ex)