-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
feat(cardav): support result truncation for addressbook federation #50092
base: master
Are you sure you want to change the base?
Conversation
c7ee3ab
to
1cb4891
Compare
@@ -851,6 +855,10 @@ public function deleteCard($addressBookId, $cardUri) { | |||
* @return array | |||
*/ | |||
public function getChangesForAddressBook($addressBookId, $syncToken, $syncLevel, $limit = null) { | |||
if ($limit === null) { | |||
$limit = $this->config->getSystemValueInt('carddav_sync_request_limit', 1); |
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.
TODO: Debugging leftover has to be removed (default limit 1) before the merge.
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.
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 |
Signed-off-by: Hamza Mahjoubi <[email protected]>
…tion Signed-off-by: Hamza Mahjoubi <[email protected]>
…tion Signed-off-by: Hamza Mahjoubi <[email protected]>
…tion Signed-off-by: Hamza Mahjoubi <[email protected]>
…tion Signed-off-by: Hamza Mahjoubi <[email protected]>
64d8d2d
to
2e2983a
Compare
Summary
TODO
Checklist