Switch checked from indexedb to localstorage

This commit is contained in:
Jon Staab
2024-12-16 11:55:47 -08:00
parent fd846d41ea
commit 3b202b31cb
2 changed files with 3 additions and 4 deletions
-2
View File
@@ -52,7 +52,6 @@
import {subscribePersistent, listenForNotifications} from "@app/requests"
import * as commands from "@app/commands"
import * as requests from "@app/requests"
import {checked} from "@app/notifications"
import * as notifications from "@app/notifications"
import * as state from "@app/state"
@@ -143,7 +142,6 @@
ready = initStorage("flotilla", 4, {
relays: {keyPath: "url", store: throttled(3000, relays)},
handles: {keyPath: "nip05", store: throttled(3000, handles)},
checked: storageAdapters.fromObjectStore(checked, {throttle: 3000}),
freshness: storageAdapters.fromObjectStore(freshness, {
throttle: 3000,
migrate: migrateFreshness,