Disable timer back sync for debug builds.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user