Update caches for federated shares in cron
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
Currently we check the status of federated shares often during a request to list the files. Especially with broken federated shares this can lead to huge slowdowns. https://github.com/nextcloud/server/pull/7485 tries to fix this a bit.
However, it will still result in a request every once in a while to be slow.
A better approach would be to have a cronjob running for all (incomming) federated shares to check the status.
As discussed: @MorrisJobke @schiessle
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the issue's proposed cronjob approach and the referenced pull request 7485 to understand the current federated-share status checks. Define the cron entry point and affected incoming-share handling, with completion meaning status checks no longer cause recurring slow requests during file-listing requests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend, cloud, distributed-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100