1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-01-31 00:19:00 +03:00
Octobot/CodeAnalysis
Octol1ttle 3134c35751
Ban usages of Thread#Sleep (#243)
Using Thread.Sleep blocks the _entire_ thread from doing *anything*,
while Task.Delay allows the thread to execute other tasks while the
delay is passing. The inability to cancel Thread.Sleep may also cause
longer shutdowns

tl;dr Thread.Sleep bad, Task.Delay good
made because of
578c03871d

Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2023-12-21 20:21:20 +03:00
..
BannedSymbols.txt Ban usages of Thread#Sleep (#243) 2023-12-21 20:21:20 +03:00