Reduce attachment migration batch size to 1
This prevents ‘Maximum IPC message size exceeded’ due to IDB `getAll` operation. - https://github.com/zincbase/zincdb/issues/17 - https://cs.chromium.org/chromium/src/content/browser/indexed_db/indexed_db_database.cc?q=%22Maximum+IPC+message+size+exceeded%22&sq=package:chromium&l=1160
This commit is contained in:
parent
ce8fd3d847
commit
30037e5308
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ const { deferredToPromise } = require('./deferred_to_promise');
|
|||
|
||||
|
||||
const MESSAGES_STORE_NAME = 'messages';
|
||||
const NUM_MESSAGES_PER_BATCH = 50;
|
||||
const NUM_MESSAGES_PER_BATCH = 1;
|
||||
|
||||
exports.processNext = async ({
|
||||
BackboneMessage,
|
||||
|
|
Loading…
Reference in a new issue