Skip to content

Conversation

paultranvan
Copy link
Contributor

@paultranvan paultranvan commented Jul 11, 2025

When dealing with large sharings, requesting the list of sharings can be quite slow, i.e. several seconds. This is because by default this route returns the list of all shared docs. So if we deal with thousands of docs, this is slow to compute and transmit.

We do not need this list of shared docs, so let's disable it.

✔️ Rely on cozy/cozy-stack#4548 and cozy/cozy-client#1619 that should be merged first, and cozy-client upgraded

When dealing with large sharings, requesting the list of sharings can be
quite slow, i.e. several seconds.  This is because by default this route
returns the list of *all* shared docs. So if we deal with thousands of
docs, this is slow to compute and transmit.

We do not need this list of shared docs, so let's disable it.
@paultranvan paultranvan merged commit b612543 into master Jul 16, 2025
2 checks passed
@paultranvan paultranvan deleted the withSharedDocs branch July 16, 2025 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants