mirror of
https://github.com/snltty/linker.git
synced 2025-10-17 22:50:44 +08:00
后台打洞测试
This commit is contained in:
@@ -311,15 +311,11 @@ namespace linker.plugins.relay
|
||||
}
|
||||
private void TestTask()
|
||||
{
|
||||
Task.Run(async () =>
|
||||
TimerHelper.SetInterval(async () =>
|
||||
{
|
||||
while (true)
|
||||
{
|
||||
await TaskRelay();
|
||||
await Task.Delay(5000);
|
||||
}
|
||||
|
||||
});
|
||||
await TaskRelay();
|
||||
return true;
|
||||
}, 5000);
|
||||
}
|
||||
sealed class TestInfo
|
||||
{
|
||||
|
Reference in New Issue
Block a user