Page MenuHomePhorge

Greylist/Request: Avoid unnecessary queries
ClosedPublic

Authored by mollekopf on Aug 27 2021, 10:12 AM.
Tags
None
Referenced Files
F11593815: D2839.id8155.diff
Fri, Mar 29, 8:06 AM
Unknown Object (File)
Sun, Mar 17, 10:50 AM
Unknown Object (File)
Wed, Mar 6, 6:03 PM
Unknown Object (File)
Feb 25 2024, 10:47 AM
Unknown Object (File)
Feb 22 2024, 6:46 PM
Unknown Object (File)
Feb 9 2024, 5:33 PM
Unknown Object (File)
Feb 8 2024, 7:45 AM
Unknown Object (File)
Jan 24 2024, 2:17 PM
Subscribers
None

Details

Reviewers
vanmeeuwen
Group Reviewers
Restricted Project
Commits
rKb869129bc47a: Greylist/Request: Avoid unnecessary queries
Summary
  • Instead of sorting and all entires we can just check if any exists
  • Instead of inserting and then updating later on, we can just insert at the end.

Diff Detail

Repository
rK kolab
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

mollekopf created this revision.
mollekopf added a reviewer: Restricted Project.Aug 27 2021, 10:12 AM
mollekopf retitled this revision from Greylist/Request performance enhancement to Greylist/Request: Avoid unnecessary queries.
mollekopf edited the summary of this revision. (Show Details)

Avoid the unnecessary insert + update

This revision is now accepted and ready to land.Aug 27 2021, 10:48 AM
This revision was automatically updated to reflect the committed changes.