We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a6d696 commit 23e996eCopy full SHA for 23e996e
lib/OnyxUtils.ts
@@ -58,13 +58,13 @@ const IDB_STORAGE_ERRORS = [
58
] as const;
59
60
// SQLite errors that indicate storage capacity issues where eviction can help
61
-const SQL_STORAGE_ERRORS = [
+const SQLITE_STORAGE_ERRORS = [
62
'database or disk is full', // Device storage is full
63
'disk I/O error', // File system I/O failure, often due to insufficient space or corrupted storage
64
'out of memory', // Insufficient RAM or storage space to complete the operation
65
66
67
-const STORAGE_ERRORS = [...IDB_STORAGE_ERRORS, ...SQL_STORAGE_ERRORS];
+const STORAGE_ERRORS = [...IDB_STORAGE_ERRORS, ...SQLITE_STORAGE_ERRORS];
68
69
const MAX_RETRY_ATTEMPTS = 5;
70
0 commit comments