Skip to content

Commit 23e996e

Browse files
committed
Rename const
1 parent 5a6d696 commit 23e996e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/OnyxUtils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ const IDB_STORAGE_ERRORS = [
5858
] as const;
5959

6060
// SQLite errors that indicate storage capacity issues where eviction can help
61-
const SQL_STORAGE_ERRORS = [
61+
const SQLITE_STORAGE_ERRORS = [
6262
'database or disk is full', // Device storage is full
6363
'disk I/O error', // File system I/O failure, often due to insufficient space or corrupted storage
6464
'out of memory', // Insufficient RAM or storage space to complete the operation
6565
] as const;
6666

67-
const STORAGE_ERRORS = [...IDB_STORAGE_ERRORS, ...SQL_STORAGE_ERRORS];
67+
const STORAGE_ERRORS = [...IDB_STORAGE_ERRORS, ...SQLITE_STORAGE_ERRORS];
6868

6969
const MAX_RETRY_ATTEMPTS = 5;
7070

0 commit comments

Comments
 (0)