Unverified Commit 49de8630 authored by Hong Minhee's avatar Hong Minhee
Browse files

Document `--timeout` option for `fedify lookup`

Add documentation for the -T/--timeout option in the CLI documentation,
explaining how to set request timeout for network operations. Also update
CHANGES.md to reference PR #372.
parent fc3e4756
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -163,10 +163,11 @@ To be released.
 -  Added `-T`/`--timeout` option to `fedify lookup` command. This option allows
    users to specify timeout in seconds for network requests to prevent
    hanging on slow or unresponsive servers.
    [[#258] by Hyunchae Kim]
    [[#258], [#372] by Hyunchae Kim]

[#353]: https://github.com/fedify-dev/fedify/issues/353
[#365]: https://github.com/fedify-dev/fedify/pull/365
[#372]: https://github.com/fedify-dev/fedify/pull/372

### @fedify/amqp

+13 −0
Original line number Diff line number Diff line
@@ -829,6 +829,19 @@ about the specified objects to a given path, run the command below:
fedify lookup -o actors.json @fedify@hollo.social @hongminhee@fosstodon.org
~~~~

### `-T`/`--timeout`: Request timeout

*This option is available since Fedify 1.9.0.*

You can specify the request timeout duration by using the `-T`/`--timeout`
option. The duration should be an integer in seconds.  By default, there is no
timeout.  For example, to set the request timeout to 10 seconds, run the below
command:

~~~~ sh
fedify lookup --timeout 10 @fedify@hollo.social
~~~~


`fedify inbox`: Ephemeral inbox server
--------------------------------------