diff options
author | Giteabot <teabot@gitea.io> | 2024-04-18 21:15:50 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-18 15:15:50 +0200 |
commit | a05d098a376c78036cdf29d4fa6bde88c78e5c37 (patch) | |
tree | 1bb5873153ad0343472937f50cc09770cbd6aee3 /docs/content/administration/config-cheat-sheet.en-us.md | |
parent | 332ee359ce8b4945f4eb463d4413582fd3bf91d1 (diff) | |
download | gitea-a05d098a376c78036cdf29d4fa6bde88c78e5c37.tar.gz gitea-a05d098a376c78036cdf29d4fa6bde88c78e5c37.zip |
Fixup app.example.ini for task section, which is now queue.task (#30555) (#30562)
Backport #30555 by xor-gate
Config section `[task]` has been deprecated in favor of `[queue.task]`
Co-authored-by: Jerry Jacobs <xor-gate@users.noreply.github.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'docs/content/administration/config-cheat-sheet.en-us.md')
-rw-r--r-- | docs/content/administration/config-cheat-sheet.en-us.md | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/docs/content/administration/config-cheat-sheet.en-us.md b/docs/content/administration/config-cheat-sheet.en-us.md index 3e9ae6047f..cec30cc7e7 100644 --- a/docs/content/administration/config-cheat-sheet.en-us.md +++ b/docs/content/administration/config-cheat-sheet.en-us.md @@ -1182,14 +1182,6 @@ in this mapping or the filetype using heuristics. - `DEFAULT_UI_LOCATION`: Default location of time on the UI, so that we can display correct user's time on UI. i.e. Asia/Shanghai -## Task (`task`) - -Task queue configuration has been moved to `queue.task`. However, the below configuration values are kept for backwards compatibility: - -- `QUEUE_TYPE`: **channel**: Task queue type, could be `channel` or `redis`. -- `QUEUE_LENGTH`: **1000**: Task queue length, available only when `QUEUE_TYPE` is `channel`. -- `QUEUE_CONN_STR`: **redis://127.0.0.1:6379/0**: Task queue connection string, available only when `QUEUE_TYPE` is `redis`. If redis needs a password, use `redis://123@127.0.0.1:6379/0` or `redis+cluster://123@127.0.0.1:6379/0`. - ## Migrations (`migrations`) - `MAX_ATTEMPTS`: **3**: Max attempts per http/https request on migrations. |