don't block the event log on initial startup syncs
This commit is contained in:
parent
2c94a9938d
commit
8c7108e83f
|
@ -195,14 +195,17 @@ namespace SparkleLib {
|
||||||
|
|
||||||
// Sync up everything that changed
|
// Sync up everything that changed
|
||||||
// since we've been offline
|
// since we've been offline
|
||||||
if (!this.is_syncing && (HasLocalChanges || HasUnsyncedChanges)) {
|
new Thread (() => {
|
||||||
SyncUpBase ();
|
if (!this.is_syncing && (HasLocalChanges || HasUnsyncedChanges)) {
|
||||||
|
|
||||||
while (HasLocalChanges)
|
|
||||||
SyncUpBase ();
|
SyncUpBase ();
|
||||||
}
|
|
||||||
|
|
||||||
this.remote_timer.Start ();
|
while (HasLocalChanges && !this.is_syncing)
|
||||||
|
SyncUpBase ();
|
||||||
|
}
|
||||||
|
|
||||||
|
this.remote_timer.Start ();
|
||||||
|
|
||||||
|
}).Start ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue