File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import Engine, { EngineContext } from '../core/Engine';
11
11
import { getPersistentState } from '@metamask/base-controller' ;
12
12
13
13
const TIMEOUT = 40000 ;
14
- const STORAGE_DEBOUNCE_DELAY = 200 ;
14
+ const STORAGE_THROTTLE_DELAY = 200 ;
15
15
16
16
const MigratedStorage = {
17
17
async getItem ( key : string ) {
@@ -131,7 +131,7 @@ const persistConfig = {
131
131
stateReconciler : autoMergeLevel2 , // see "Merge Process" section for details.
132
132
migrate : createMigrate ( migrations , { debug : false } ) ,
133
133
timeout : TIMEOUT ,
134
- throttle : STORAGE_DEBOUNCE_DELAY ,
134
+ throttle : STORAGE_THROTTLE_DELAY ,
135
135
writeFailHandler : ( error : Error ) =>
136
136
Logger . error ( error , { message : 'Error persisting data' } ) , // Log error if saving state fails
137
137
} ;
You can’t perform that action at this time.
0 commit comments