mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-12 22:17:22 +01:00
potentially fix staticfileserver crashes
This commit is contained in:
parent
89a384005e
commit
abda79a15a
1 changed files with 28 additions and 21 deletions
|
|
@ -147,6 +147,8 @@ public class RequestQueueService : IHostedService
|
||||||
MaxDegreeOfParallelism = 10,
|
MaxDegreeOfParallelism = 10,
|
||||||
},
|
},
|
||||||
async (i) =>
|
async (i) =>
|
||||||
|
{
|
||||||
|
try
|
||||||
{
|
{
|
||||||
if (!_queue.Any()) return;
|
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)
|
catch (Exception ex)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue