Perform search table rebuilds in a single transaction.

This commit is contained in:
Greyson Parrelli
2024-10-16 14:49:07 -04:00
parent 97f1e18046
commit 69b506db1c
2 changed files with 14 additions and 27 deletions

View File

@@ -7,6 +7,7 @@ import org.thoughtcrime.securesms.jobmanager.Job
/**
* Rebuilds the full-text search index for the messages table.
*/
@Deprecated("Do not use! Perform the index rebuild synchronously instead.")
internal class RebuildMessageSearchIndexMigrationJob(
parameters: Parameters = Parameters.Builder().build()
) : MigrationJob(parameters) {