mirror of
https://github.com/FastTunnel/FastTunnel.git
synced 2025-02-08 02:39:29 +08:00
1
This commit is contained in:
parent
3b448a7440
commit
0919d31c9c
|
@ -33,11 +33,6 @@ namespace FastTunnel.Server
|
|||
{
|
||||
var servicesProvider = new Host().Config(Config).Build();
|
||||
Run(servicesProvider);
|
||||
|
||||
while (true)
|
||||
{
|
||||
Thread.Sleep(10000 * 60);
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
@ -77,6 +72,11 @@ namespace FastTunnel.Server
|
|||
{
|
||||
var server = servicesProvider.GetRequiredService<FastTunnelServer>();
|
||||
server.Run();
|
||||
|
||||
while (true)
|
||||
{
|
||||
Thread.Sleep(10000 * 60);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user