Do not batch single saveMessage calls after start-up

This commit is contained in:
Josh Perez 2021-03-10 22:21:21 -05:00 committed by Josh Perez
parent 80e3582d01
commit 0bd3c78187
7 changed files with 31 additions and 9 deletions

View file

@ -17,7 +17,11 @@ import { hasExpired } from './hasExpired';
import { incrementMessageCounter } from './incrementMessageCounter';
import { isFileDangerous } from './isFileDangerous';
import { makeLookup } from './makeLookup';
import { saveNewMessageBatcher, updateMessageBatcher } from './messageBatcher';
import {
queueUpdateMessage,
saveNewMessageBatcher,
setBatchingStrategy,
} from './messageBatcher';
import { missingCaseError } from './missingCaseError';
import { parseRemoteClientExpiration } from './parseRemoteClientExpiration';
import { sleep } from './sleep';
@ -52,11 +56,12 @@ export {
mapToSupportLocale,
missingCaseError,
parseRemoteClientExpiration,
queueUpdateMessage,
saveNewMessageBatcher,
setBatchingStrategy,
sessionRecordToProtobuf,
sessionStructureToArrayBuffer,
sleep,
toWebSafeBase64,
updateMessageBatcher,
zkgroup,
};