Delay 1 second.

This commit is contained in:
AnduinXue
2023-11-28 09:16:34 +00:00
parent d144102c48
commit 60698238b7
@@ -66,7 +66,7 @@ public class GamesController : Controller
subscription = channel.Subscribe(async t => { await _pusher.SendMessage(t.Content); });
while (_pusher.Connected)
{
await Task.Delay(int.MaxValue);
await Task.Delay(1000);
}
}
finally