Issue 5377

Title
Use SQL query to purge login attempt
Priority
feature
Status
resolved
Nosy list
ced, roundup-bot
Assigned to
ced
Keywords
review

Created on 2016-03-09.10:46:22 by ced, last changed 65 months ago by roundup-bot.

Messages

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
Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2016-03-09.10:48:54
Here is review24901002
Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2016-03-09.10:46:21
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.
History
Date User Action Args
2016-03-16 22:10:48roundup-botsetstatus: testing -> resolved
nosy: + roundup-bot
messages: + msg25090
2016-03-09 11:00:13reviewbotsetreviews: 24901002
keyword: + review
2016-03-09 10:48:55cedsetstatus: in-progress -> testing
messages: + msg24675
2016-03-09 10:46:22cedcreate

Showing 10 items. Show all history (warning: this could be VERY long)