Skip to content

Commit 441fa57

Browse files
committed
fix: remove last traces of IndexedDB
Signed-off-by: Marcel Klehr <[email protected]>
1 parent 508051f commit 441fa57

File tree

3 files changed

+2
-31
lines changed

3 files changed

+2
-31
lines changed

src/lib/IndexedDB.ts

Lines changed: 0 additions & 27 deletions
This file was deleted.

src/lib/browser/BrowserController.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import uniqBy from 'lodash/uniqBy'
99
import Account from '../Account'
1010
import { STATUS_ALLGOOD, STATUS_DISABLED, STATUS_ERROR, STATUS_SYNCING } from '../interfaces/Controller'
1111
import * as Sentry from '@sentry/browser'
12-
import { freeStorageIfNecessary } from '../IndexedDB'
1312

1413
const INACTIVITY_TIMEOUT = 7 * 1000 // 7 seconds
1514
const MAX_BACKOFF_INTERVAL = 1000 * 60 * 60 // 1 hour
@@ -23,7 +22,7 @@ class AlarmManager {
2322
}
2423

2524
async checkStorage() {
26-
await freeStorageIfNecessary()
25+
// empty
2726
}
2827

2928
async checkSync() {

src/lib/native/NativeController.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import Cryptography from '../Crypto'
44
import NativeAccountStorage from './NativeAccountStorage'
55
import Account from '../Account'
66
import { STATUS_ALLGOOD, STATUS_DISABLED, STATUS_ERROR, STATUS_SYNCING } from '../interfaces/Controller'
7-
import { freeStorageIfNecessary } from '../IndexedDB'
87

98
const INACTIVITY_TIMEOUT = 1000 * 7
109
const MAX_BACKOFF_INTERVAL = 1000 * 60 * 60 // 1 hour
@@ -27,7 +26,7 @@ class AlarmManager {
2726
}
2827

2928
async checkStorage() {
30-
await freeStorageIfNecessary()
29+
// empty
3130
}
3231

3332
async checkSync() {

0 commit comments

Comments
 (0)