mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-06 03:29:55 +02:00
Ensure timeout in requests
This commit is contained in:
parent
b8c7e960c3
commit
206ae296b6
4 changed files with 5 additions and 1 deletions
|
@ -218,6 +218,7 @@ class TrackFileViewSet(viewsets.ReadOnlyModelViewSet):
|
|||
library_track.audio_url,
|
||||
auth=auth,
|
||||
stream=True,
|
||||
timeout=20,
|
||||
headers={
|
||||
'Content-Type': 'application/activity+json'
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue