Update StatisticsHandler.cs

This commit is contained in:
2dust 2022-09-20 20:25:32 +08:00
parent 9c3fff8510
commit dcda8fc773

View file

@ -127,7 +127,8 @@ namespace v2rayN.Handler
} }
} }
} }
Thread.Sleep(1000 * config_.statisticsFreshRate); var sleep = config_.statisticsFreshRate < 1 ? 1 : config_.statisticsFreshRate;
Thread.Sleep(1000 * sleep);
channel_.ConnectAsync(); channel_.ConnectAsync();
} }
catch (Exception ex) catch (Exception ex)