Reduce log collection size from 1000 to 50

sync2
Laurent 9 months ago
parent 407640b35c
commit 3cf90172d4
  1. 2
      LeStorage/StoreCenter.swift

@ -465,7 +465,7 @@ public class StoreCenter {
if let logs = self._logs {
return logs
} else {
let logsCollection: StoredCollection<Log> = Store.main.registerCollection(synchronized: false, limit: 1000)
let logsCollection: StoredCollection<Log> = Store.main.registerCollection(synchronized: false, limit: 50)
self._logs = logsCollection
return logsCollection
}

Loading…
Cancel
Save