mirror of
https://github.com/chylex/Discord-History-Tracker.git
synced 2025-05-31 23:59:27 +03:00
Add name to server management thread
This commit is contained in:
parent
8002236c1f
commit
4bc9626013
@ -12,7 +12,7 @@ using Microsoft.Extensions.DependencyInjection;
|
||||
namespace DHT.Server.Service {
|
||||
public static class ServerLauncher {
|
||||
private static readonly Log Log = Log.ForType(typeof(ServerLauncher));
|
||||
|
||||
|
||||
private static IWebHost? Server { get; set; } = null;
|
||||
|
||||
public static bool IsRunning { get; private set; }
|
||||
@ -29,6 +29,7 @@ namespace DHT.Server.Service {
|
||||
try {
|
||||
if (ManagementThread == null) {
|
||||
ManagementThread = new Thread(RunManagementThread) {
|
||||
Name = "DHT server management thread",
|
||||
IsBackground = true
|
||||
};
|
||||
ManagementThread.Start();
|
||||
|
Loading…
x
Reference in New Issue
Block a user