Stop/throttle clients upon server is busy
Open
@sorbaugh is already working on this.
Since Apr 17, 2025.
enhancement
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
- Server detects that it is starting to get overwhelmed
- detect: cpu/db, time for a response
- Server gives that info to client
- server blocks ocs/webdav endpoints with http "retry later" response
- Client obey that and stops
- Desktop (probably via notify push): stop sync, retry after e.g. 5 min
- Android/iOS:
- show info to user, allow to retry later
- block background sync
- client can check via /200 endpoint if server is healthy again
Further idea for later:
- Not stopping, but throttle down
- Provide functinality as occ command
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.
Assessment
This issue has not been assessed yet.