fix conflicts

This commit is contained in:
guiling
2026-05-09 21:25:52 +08:00
parent 1efbffab77
commit ad6e61daf3
3 changed files with 14 additions and 6 deletions
+2 -2
View File
@@ -22,14 +22,14 @@ public class MainViewModel : INotifyPropertyChanged, IDisposable
private DateTime _lastNodeFetchTime = DateTime.MinValue;
private bool _isPolling;
private string? _groupName;
private const int MaxHistoryPoints = 200;
private const int MaxHistoryPoints = 600;
private static readonly TimeSpan NodeFetchInterval = TimeSpan.FromSeconds(3);
public MainViewModel()
{
var config = ConfigService.Load();
_apiService = new ClashApiService(config);
_speedTimer = new DispatcherTimer { Interval = TimeSpan.FromMilliseconds(300) };
_speedTimer = new DispatcherTimer { Interval = TimeSpan.FromMilliseconds(100) };
_speedTimer.Tick += OnSpeedTimerTick;
}