Enable default accounts synchronization and timer sync for debug builds but not if it is attached.

This commit is contained in:
Burak Kaan Köse
2025-02-23 17:24:59 +01:00
parent b551af01fa
commit a8cee1016b
2 changed files with 8 additions and 5 deletions

View File

@@ -86,7 +86,8 @@ public class ServerContext :
private async void SynchronizationTimerTriggered(object sender, System.Timers.ElapsedEventArgs e)
{
#if !DEBUG
if (Debugger.IsAttached) return;
// Send sync request for all accounts.
var accounts = await _accountService.GetAccountsAsync();
@@ -103,7 +104,6 @@ public class ServerContext :
await ExecuteServerMessageSafeAsync(null, request);
}
#endif
}
#region Message Handlers