Update StatisticsHandler.cs

pull/2654/head
2dust 2022-09-20 20:25:32 +08:00
parent 9c3fff8510
commit dcda8fc773
1 changed files with 2 additions and 1 deletions

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)