Disable timer back sync for debug builds.

This commit is contained in:
Burak Kaan Köse
2025-02-23 16:01:51 +01:00
parent 9d0a2f6535
commit 71ea49439e

View File

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