mirror of https://github.com/2dust/v2rayN
Update StatisticsHandler.cs
parent
d58861ab88
commit
92baf9025a
|
@ -134,6 +134,8 @@ namespace v2rayN.Handler
|
|||
|
||||
private void Init()
|
||||
{
|
||||
SqliteHelper.Instance.Execute($"delete from ServerStatItem where indexId not in ( select indexId from ProfileItem )");
|
||||
|
||||
long ticks = DateTime.Now.Date.Ticks;
|
||||
SqliteHelper.Instance.Execute($"update ServerStatItem set todayUp = 0,todayDown=0,dateNow={ticks} where dateNow<>{ticks}");
|
||||
|
||||
|
|
Loading…
Reference in New Issue