后台打洞测试

This commit is contained in:
snltty
2024-09-16 15:07:51 +08:00
parent 0ae571052b
commit 83a2c0d564
33 changed files with 278 additions and 214 deletions

View File

@@ -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
{