Skip to content
Snippets Groups Projects
Commit df868d27 authored by Cédric Moreau's avatar Cédric Moreau
Browse files

[fix] sync: was still a bit slower in duniter-ui than `sync` command

parent 28afdcce
No related branches found
No related tags found
No related merge requests found
...@@ -38,6 +38,7 @@ export class LokiProxyCollection<T> implements LokiCollection<T> { ...@@ -38,6 +38,7 @@ export class LokiProxyCollection<T> implements LokiCollection<T> {
setChangesApi(enabled: boolean) { setChangesApi(enabled: boolean) {
this.collection.setChangesApi(enabled) this.collection.setChangesApi(enabled)
;(this.collection as any).disableDeltaChangesApi = true // This is a Loki bug: `disableDeltaChangesApi` should be impacted just like `disableChangesApi`:
;(this.collection as any).disableDeltaChangesApi = !enabled
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment