Skip to content

Commit

Permalink
Merge pull request #2036 from nodiscc/doc-general-download-timeout-ma…
Browse files Browse the repository at this point in the history
…x-size

doc: document general.download_max_size/timeout configuration settings
  • Loading branch information
nodiscc authored Nov 15, 2023
2 parents c88bc1d + 1697e7a commit 4557abb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc/md/Shaarli-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ Some settings can be configured directly from a web browser by accesing the `Too
"default_private_links": true,
"check_updates_branch": "stable",
"check_updates_interval": 86400,
"download_max_size": 4194304,
"download_timeout": 30,
"enabled_plugins": [
"markdown",
"wallabag",
Expand Down Expand Up @@ -141,6 +143,8 @@ _These settings should not be edited_
- **timezone**: See [the list of supported timezones](https://www.php.net/manual/en/timezones.php).
- **enabled_plugins**: List of enabled plugins.
- **default_note_title**: Default title of a new note.
- **download_max_size:**: Maximum number of bytes to download when retrieveing page content/metadata.
- **download_timeout:**: Network timeout (in seconds) when retrieveing page content/metadata.
- **enable_async_metadata** (boolean): Retrieve external bookmark metadata asynchronously to prevent bookmark creation slowdown.
- **retrieve_description** (boolean): If set to true, for every new Shaare Shaarli will try to retrieve the description and keywords from the HTML meta tags.
- **root_url**: Overrides automatic discovery of Shaarli instance's URL (e.g.) `https://sub.domain.tld/shaarli-folder/`.
Expand Down

0 comments on commit 4557abb

Please sign in to comment.