mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 05:49:16 +02:00
Ensure timeout in requests
This commit is contained in:
parent
b8c7e960c3
commit
206ae296b6
4 changed files with 5 additions and 1 deletions
|
@ -73,6 +73,7 @@ def deliver(activity, on_behalf_of, to=[]):
|
|||
auth=auth,
|
||||
json=activity,
|
||||
url=recipient_actor.inbox_url,
|
||||
timeout=5,
|
||||
headers={
|
||||
'Content-Type': 'application/activity+json'
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue