Skip to content

Slow down ContextObjectsDeletionMigrator

Alex Gleason requested to merge object-delete-slower into develop

Fixes #102 (closed) (sort of)

The ContextObjectsDeletionMigrator deletes context objects in the background while your server is running. It's a slow process that can take days or even weeks. If you don't have your database settings ramped up, it can cause #102 (closed) and/or make your database lock up.

By default it tries to go as fast as possible which can absolutely destroy database performance. So make it sleep 3 seconds between deletions. This will make it take a lot longer to finish, but your server won't be gasping for breath in the meantime.

Merge request reports

Loading