mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-18 23:49:20 +01:00
Improve backup export speed
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
This commit is contained in:
@@ -276,6 +276,12 @@ export class MainSQL {
|
||||
duration: number;
|
||||
}>;
|
||||
|
||||
if (method === 'pageBackupMessages' && this.#pauseWaiters == null) {
|
||||
throw new Error(
|
||||
'pageBackupMessages can only run after pauseWriteAccess()'
|
||||
);
|
||||
}
|
||||
|
||||
// pageMessages runs over several queries and needs to have access to
|
||||
// the same temporary table, it also creates temporary insert/update
|
||||
// triggers so it has to run on the same connection that updates the tables
|
||||
|
||||
Reference in New Issue
Block a user