Separate calls in sql channel

This commit is contained in:
Fedor Indutny
2024-08-12 12:54:24 -07:00
committed by GitHub
parent 85b130a12d
commit 9a98ae0a4e
7 changed files with 90 additions and 45 deletions

View File

@@ -24,7 +24,7 @@ import * as Errors from '../types/errors';
import type { StoredJob } from '../jobs/types';
import { formatJobForInsert } from '../jobs/formatJobForInsert';
import { cleanupMessages } from '../util/cleanup';
import { AccessType, ipcInvoke, doShutdown } from './channels';
import { AccessType, ipcInvoke, doShutdown, removeDB } from './channels';
import type {
ClientInterfaceWrap,
@@ -124,6 +124,7 @@ const clientOnlyWritable: ClientOnlyWritableInterface = {
flushUpdateConversationBatcher,
removeDB,
shutdown,
removeMessagesInConversation,