feat(cardav): support result truncation for addressbook federation#50092
feat(cardav): support result truncation for addressbook federation#50092
Conversation
c7ee3ab to
1cb4891
Compare
ChristophWurst
left a comment
There was a problem hiding this comment.
How to test this? Does this also work with clients or is it limited strictly to server-to-server synchronization?
The limit is set to 1 here. The ways to test this that I can think of
PS: In case of federation both instances need to be patched.
It should work for client sync too, But testing server to server is also needed to cover the whole PR |
2e2983a to
c10a8cd
Compare
|
/backport to stable31 |
c10a8cd to
ef45c01
Compare
|
Failing CI needs to be addressed and won't be resolved with rebases |
ef45c01 to
9dc7d13
Compare
I have 224 contacts, setting it to 50 caused the OOM, I'm assuming memory is not being freed, I'm still looking into it. Edit: Idk if it was obvious from my comment 😅 but setting it to > 224 solved the OOM exception |
|
Hi, I did some more testing today and encountered a few minor issues. I'm not entirely sure if this is moving in the right direction, so I've pushed the changes to a different branch based on this one: #53551
Please note that there have been some changes to config.sample.php in the meantime. If time allows, please rebase and resolve the conflicts. |
7d493b1 to
29fba71
Compare
29fba71 to
4d185b3
Compare
st3iny
left a comment
There was a problem hiding this comment.
Tested and works with 5247 users in total and the limit configured to 2500, as Daniel suggested.
Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
91bc886 to
8124485
Compare
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
8124485 to
13f25c9
Compare
Summary
This Pr enables truncation for addressbook sync between federated instances
How to Test
what to look for:
Checklist