Small fixes to `MatrixFederationHttpClient` docstrings (#15148)
parent
f7e49afb99
commit
3f2ef205e2
|
@ -0,0 +1 @@
|
|||
Correct small documentation errors in some `MatrixFederationHttpClient` methods.
|
|
@ -440,7 +440,7 @@ class MatrixFederationHttpClient:
|
|||
Args:
|
||||
request: details of request to be sent
|
||||
|
||||
retry_on_dns_fail: true if the request should be retied on DNS failures
|
||||
retry_on_dns_fail: true if the request should be retried on DNS failures
|
||||
|
||||
timeout: number of milliseconds to wait for the response headers
|
||||
(including connecting to the server), *for each attempt*.
|
||||
|
@ -1036,6 +1036,8 @@ class MatrixFederationHttpClient:
|
|||
args: A dictionary used to create query strings, defaults to
|
||||
None.
|
||||
|
||||
retry_on_dns_fail: true if the request should be retried on DNS failures
|
||||
|
||||
timeout: number of milliseconds to wait for the response.
|
||||
self._default_timeout (60s) by default.
|
||||
|
||||
|
|
Loading…
Reference in New Issue