await Task.Delay(foo); takes seconds instead of ms
问题 Using a variable delay in Task.Delay randomly takes seconds instead of milliseconds when combined with a IO-like operation. Code to reproduce: using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading; using System.Threading.Tasks; namespace ConsoleApplication { class Program { static void Main(string[] args) { Task[] wait = { new delayTest().looper(5250, 20), new delayTest().looper(3500, 30), new delayTest().looper