Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Delete unused IP command - adding a limit, renaming the command #7491
Please be sure you are submitting this against the staging branch.
New command mautic:unusedip:delete that executes a delete query to remove duplicate IP addresses from the database. Added a limit parameter to restrict the number of deleted rows, default value is 10000.
Steps to test this PR:
@npracht @kuzmany this must go to 2.15.2 as its previous version #7439 is there already. We renamed it to better suit what it does. But the main update is in the SQL query itself. When we run it on a bigger database it took very long and locked all tables in that command so Mautic was unusable. This PR fixes that.