mediawiki-extensions-Echo/maintenance
Amir Sarabadani 6d0e181bf4 Run clean ups with removeOrphanedEvents in major batches
It's already wrapped in a small batch but if the table is large, this
would not work.

Adding a major batch to limit the rows scanned drastically makes it
faster. I have been running this in production and it works like a charm
on a table with > 300M rows

Bug: T310428
Change-Id: I7f63d2d76fea0db64e48dbcc1f95419df4492e7d
2022-08-01 16:49:13 +02:00
..
backfillUnreadWikis.php Replace deprecated User::newFromIdentity with UserFactory 2022-02-11 20:35:49 +00:00
generateSampleNotifications.php Replace Maintenance::error calls with ::fatalError 2022-07-08 11:02:45 +02:00
processEchoEmailBatch.php Use Maintenance::set/getBatchSize in maintenance scripts 2020-12-18 00:28:32 +01:00
recomputeNotifCounts.php build: Updating composer dependencies 2021-05-04 09:05:15 -07:00
removeInvalidNotification.php build: Updating composer dependencies 2021-05-04 09:05:15 -07:00
removeOrphanedEvents.php Run clean ups with removeOrphanedEvents in major batches 2022-08-01 16:49:13 +02:00
updateEchoSchemaForSuppression.php build: Updating composer dependencies 2021-05-04 09:05:15 -07:00
updatePerUserBlacklist.php Use CentralIdLookupFactory and pass UserIdentity 2021-07-21 19:23:42 -07:00