mirror of
https://github.com/ramsayleung/rspotify.git
synced 2026-04-26 07:55:55 +03:00
[PR #394] [MERGED] enable / standardize client request timeouts #431
Labels
No labels
Stale
bug
discussion
enhancement
good first issue
good first issue
help wanted
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/rspotify#431
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ramsayleung/rspotify/pull/394
Author: @eladyn
Created: 3/9/2023
Status: ✅ Merged
Merged: 3/12/2023
Merged by: @ramsayleung
Base:
master← Head:client_request_timeouts📝 Commits (3)
16c7689reuse agent for ureq requestsebc7d37set 10 second timeout for ureq and reqwestdb46fffupdate changelog📊 Changes
3 files changed (+35 additions, -9 deletions)
View changed files
📝
CHANGELOG.md(+3 -0)📝
rspotify-http/src/reqwest.rs(+13 -1)📝
rspotify-http/src/ureq.rs(+19 -8)📄 Description
Description
This sets the same timeout duration for
reqwestandureqhttp clients.Motivation and Context
github.com/ramsayleung/rspotify@6d304de632/rspotify-model/src/auth.rs (L79-L80)This mentions a maximum request time of 10 seconds, but AFAICT, these timeouts aren't specified anywhere. By default,
reqwestdoes not have a timeout at all,ureqhas a 30 secondconnecttimeout.Type of change
Please delete options that are not relevant.
How has this been tested?
The provided non-modifying tests.
Is this change properly documented?
I hope so. :) Please point me to additional documentation changes that are necessary, if there are any.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.