Use FTS5 optimizer in production
This commit is contained in:
parent
f5c18cfb51
commit
e124730cb0
12 changed files with 200 additions and 42 deletions
|
@ -15,6 +15,7 @@ import type DB from './Server';
|
|||
const MIN_TRACE_DURATION = 40;
|
||||
|
||||
export type InitializeOptions = Readonly<{
|
||||
appVersion: string;
|
||||
configDir: string;
|
||||
key: string;
|
||||
logger: LoggerType;
|
||||
|
@ -127,6 +128,7 @@ export class MainSQL {
|
|||
}
|
||||
|
||||
public async initialize({
|
||||
appVersion,
|
||||
configDir,
|
||||
key,
|
||||
logger,
|
||||
|
@ -141,7 +143,7 @@ export class MainSQL {
|
|||
|
||||
this.onReady = this.send({
|
||||
type: 'init',
|
||||
options: { configDir, key },
|
||||
options: { appVersion, configDir, key },
|
||||
});
|
||||
|
||||
await this.onReady;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue