Use SQL query to purge login attempt
The current purge is done using the ORM with a delete(search()) but if there are a lot of attempts this can be quite slow.
I think we should use a SQL query just like we do to remove attempt on success login.
All legacy (hg-git based) Projects have been automatically migrated to native with the upgrade of 2025-01-23
The current purge is done using the ORM with a delete(search()) but if there are a lot of attempts this can be quite slow.
I think we should use a SQL query just like we do to remove attempt on success login.
assigned to @ced
added trytond type::performance + 1 deleted label
Here is review24901002
added 1 deleted label and removed 1 deleted label
New changeset 932aaa8f72bf by C?dric Krier in branch 'default':
Use SQL query to remove old login attempt
http://hg.tryton.org/trytond/rev/932aaa8f72bf
added 1 deleted label and removed 1 deleted label
closed
mentioned in issue #7110 (closed)