mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-23 11:44:06 -08:00
⚡ Restore missing await in VACUUM query (#2140)
This commit is contained in:
parent
fb71324a53
commit
7ea515c840
|
@ -240,7 +240,7 @@ export class Start extends Command {
|
|||
if (dbType === 'sqlite') {
|
||||
const shouldRunVacuum = config.get('database.sqlite.executeVacuumOnStartup') as number;
|
||||
if (shouldRunVacuum) {
|
||||
Db.collections.Execution!.query('VACUUM;');
|
||||
await Db.collections.Execution!.query('VACUUM;');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue