refactor(backend): improve block page performance by reusing Sieve connections#1604
refactor(backend): improve block page performance by reusing Sieve connections#1604Shadow243 wants to merge 9 commits intocypht-org:masterfrom
Conversation
ba383bf to
38a786b
Compare
38a786b to
760827b
Compare
760827b to
115c4e1
Compare
|
@kroky this is now working with Postale. Could you please review it when you have a chance? |
29f0f60 to
1a64c68
Compare
modules/sievefilters/modules.php
Outdated
| $servers[$id] = $s; | ||
| } | ||
| } | ||
| SieveService::init($this->cache, $servers); |
There was a problem hiding this comment.
You can init once in a module and reuse the module whenever you need it.
7a54a6e to
6c368a4
Compare
7c5e3ed to
ed606d9
Compare
ed606d9 to
b9d33c2
Compare
|
@christer77 @Baraka24 @IrAlfred I've implemented some enhancements on the block_list page. Please take some time to test them before @kroky proceeds with the review. |
|
Thanks @Shadow243 for this big work, we took the time to test differently and here are what we fund:
We expected that this should be coming from tls config along side
|
|
One more thing to note, please deal with caches, it is likely the updated block_list content are cached, to see updates we have to clear all caches, logout and login again the find the updates as well. Please check also as this a part of performance. |
…ort parsing correctly
Fixed 7a0bea3 |
|
@Shadow243 This branch has conflicts that must be resolved |
As discussed with @kroky via telegram, we aim to minimize the number of Sieve server reconnections to improve the block page performance.