Skip to content
Snippets Groups Projects
Commit d7e6b4d3 authored by Ere Maijala's avatar Ere Maijala Committed by Demian Katz
Browse files

Refactored search/session expiration to delete records in batches (#739)

- Avoid locking the tables for too long or creating a massive transaction in case the table has accumulated records for a longer time.

* Reverted deletion of getExpiredQuery() and added command line parameters for specifying batch size and sleep time.

* Don't sleep after last batch.
parent c154a7be
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment