throttle time to 0.5 sec
MODIFY
WalletWasabi.Fluent/ViewModels/Settings/BitcoinTabTabViewModel.cs
WalletWasabi.Fluent/ViewModels/Settings/BitcoinTabTabViewModel.cs
@@ -37,7 +37,7 @@ namespace WalletWasabi.Fluent.ViewModels.Settings
x => x.BitcoinP2PEndPoint,
x => x.LocalBitcoinCoreDataDir)
.ObserveOn(RxApp.TaskpoolScheduler)
- .Throttle(TimeSpan.FromSeconds(1))
+ .Throttle(TimeSpan.FromMilliseconds(ThrottleTime))
.Skip(1)
.Subscribe(_ => Save());
}

MODIFY
WalletWasabi.Fluent/ViewModels/Settings/GeneralTabTabViewModel.cs
WalletWasabi.Fluent/ViewModels/Settings/GeneralTabTabViewModel.cs
@@ -35,7 +35,7 @@ namespace WalletWasabi.Fluent.ViewModels.Settings
this.WhenAnyValue(x => x.DustThreshold)
.ObserveOn(RxApp.TaskpoolScheduler)
- .Throttle(TimeSpan.FromSeconds(1))
+ .Throttle(TimeSpan.FromMilliseconds(ThrottleTime))
.Skip(1)
.Subscribe(_ => Save());

MODIFY
WalletWasabi.Fluent/ViewModels/Settings/NetworkTabTabViewModel.cs
WalletWasabi.Fluent/ViewModels/Settings/NetworkTabTabViewModel.cs
@@ -29,7 +29,7 @@ namespace WalletWasabi.Fluent.ViewModels.Settings
x => x.UseTor,
x => x.TorSocks5EndPoint)
.ObserveOn(RxApp.TaskpoolScheduler)
- .Throttle(TimeSpan.FromSeconds(1))
+ .Throttle(TimeSpan.FromMilliseconds(ThrottleTime))
.Skip(1)
.Subscribe(_ => Save());
}

MODIFY
WalletWasabi.Fluent/ViewModels/Settings/PrivacyTabTabViewModel.cs
WalletWasabi.Fluent/ViewModels/Settings/PrivacyTabTabViewModel.cs
@@ -22,7 +22,7 @@ namespace WalletWasabi.Fluent.ViewModels.Settings
x => x.MediumPrivacyLevel,
x => x.StrongPrivacyLevel)
.ObserveOn(RxApp.TaskpoolScheduler)
- .Throttle(TimeSpan.FromSeconds(1))
+ .Throttle(TimeSpan.FromMilliseconds(ThrottleTime))
.Skip(1)
.Subscribe(_ => Save());

MODIFY
WalletWasabi.Fluent/ViewModels/Settings/SettingsTabViewModelBase.cs
WalletWasabi.Fluent/ViewModels/Settings/SettingsTabViewModelBase.cs
@@ -12,6 +12,7 @@ namespace WalletWasabi.Fluent.ViewModels.Settings
public abstract class SettingsTabViewModelBase : ViewModelBase
{
+ protected const int ThrottleTime = 500;
public static event EventHandler<RestartNeededEventArgs>? RestartNeeded;
protected SettingsTabViewModelBase(Global global)

throttle time to 0.5 sec