-
Notifications
You must be signed in to change notification settings - Fork 194
refactor(backend): improve block page performance by reusing Sieve connections #1604
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.