systemli / userli

Web application to (self-) manage email users and encrypt their mailboxes.
https://systemli.github.io/userli/
GNU Affero General Public License v3.0
65 stars 13 forks source link

Improve Performance for Alias and Voucher Admin #526

Closed 0x46616c6b closed 10 months ago

0x46616c6b commented 10 months ago

On larger datasets, querying all users in Voucher and Alias Admin took a very long time or resulted in a timeout. Therefore, I replaced the filter that had preloaded all entities with a simple text filter, which works quite fast.

codecov[bot] commented 10 months ago

Codecov Report

Attention: 18 lines in your changes are missing coverage. Please review.

Comparison is base (d6cf1e7) 37.91% compared to head (84e7041) 37.99%.

Files Patch % Lines
src/Admin/VoucherAdmin.php 0.00% 17 Missing :warning:
src/Admin/AliasAdmin.php 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #526 +/- ## ============================================ + Coverage 37.91% 37.99% +0.07% + Complexity 1119 1115 -4 ============================================ Files 181 181 Lines 4436 4427 -9 ============================================ Hits 1682 1682 + Misses 2754 2745 -9 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.