Allow setting connect/read/write timeouts for requests
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- android, java
- Domain
- mobile, networking
Research direction
Read the linked article about dynamic OkHTTP timeouts, then inspect the SSO Lib request path to find where Nextcloud Files App requests are configured. Determine how per-request connect, read, and write timeout values should be supplied, and verify that a long-running request can use different defaults without changing other requests.
Written by the indexing model from the issue text.
Description
Right now there is no option to control the default timeouts (connect / read / write) for requests that are defined by the Nextcloud Files App. E.g. the Nextcloud News App makes a long running request for adding new feeds. The duration is basically determined by how fast the server is because the request will wait until the feed has been added successfully on the server side.
Therefore allowing single requests to have a longer / different timeout would be ideal.
I found an interesting article where someone explains a way to set timeouts dynamically via Headers that will be interpreted by OkHTTP later on. I believe this setup would fit perfectly fine into the SSO Lib: https://www.jndiary.com/post/setup-timeout-dynamically-with-retrofit
- Dominant language
- Java
- Stars
- 74
- Forks
- 36
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 15
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.
More from nextcloud/Android-SingleSignOn
-
0. Needs triage bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
nextcloud/Android-SingleSignOn#1081 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
nextcloud/Android-SingleSignOn#563 · 2 comments · 1 reaction ·
-
0. Needs triage bug
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
nextcloud/Android-SingleSignOn#894 · 1 reaction ·
-
0. Needs triage bug
Difficulty 4/5 3-5 days Newbie friendliness 35/100
nextcloud/Android-SingleSignOn#859 · 3 comments ·
-
0. Needs triage enhancement
Difficulty 4/5 3-5 days Newbie friendliness 30/100
nextcloud/Android-SingleSignOn#771 · 3 comments ·
All issues in nextcloud/Android-SingleSignOn
Similar issues
-
awaiting triage bug Causes friction Hop Gui P1 P2 Transforms
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
apache/flink-agents#1152 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
jenkinsci/blueocean-plugin#5417 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
objectionary/eo-graphs#75 ·