Increase delay for db persistence to avoid oom

This commit is contained in:
Jonathan Staab 2023-03-14 05:43:46 -05:00
parent 255e354a9f
commit 2bd4ae8fcf

View File

@ -106,7 +106,7 @@ class Table {
this.ready.set(true)
})()
}
_persist = throttle(1_000, () => {
_persist = throttle(4_000, () => {
callLocalforage('setItem', this.name, this.data)
})
_setAndNotify(newData) {