diff options
author | Bagas Sanjaya <bagasdotme@gmail.com> | 2020-04-28 06:41:59 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-27 19:41:59 -0400 |
commit | b52ec4a19e1cacb78fc10957057fe6f52630fac8 (patch) | |
tree | cfee43d3efa29bbae7d088027306557ed684b8fa /docs/content/doc | |
parent | 41cebeb8fa1ed6d03e0fc74d3724131d479d6964 (diff) | |
download | gitea-b52ec4a19e1cacb78fc10957057fe6f52630fac8.tar.gz gitea-b52ec4a19e1cacb78fc10957057fe6f52630fac8.zip |
[Docs] Config Cheat Sheet - Task Edit (#9972)
* backwards compatibility typo
* Unlist description and separate from list by an empty line
* redis needs password edit
* Update docs/content/doc/advanced/config-cheat-sheet.en-us.md
Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Diffstat (limited to 'docs/content/doc')
-rw-r--r-- | docs/content/doc/advanced/config-cheat-sheet.en-us.md | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/content/doc/advanced/config-cheat-sheet.en-us.md b/docs/content/doc/advanced/config-cheat-sheet.en-us.md index 9d9d2755ed..be1581e0c4 100644 --- a/docs/content/doc/advanced/config-cheat-sheet.en-us.md +++ b/docs/content/doc/advanced/config-cheat-sheet.en-us.md @@ -677,10 +677,11 @@ You may redefine `ELEMENT`, `ALLOW_ATTR`, and `REGEXP` multiple times; each time ## Task (`task`) -- Task queue configuration has been moved to `queue.task` however, the below configuration values are kept for backwards compatibilityx: +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`: **addrs=127.0.0.1:6379 db=0**: Task queue connection string, available only when `QUEUE_TYPE` is `redis`. If there redis needs a password, use `addrs=127.0.0.1:6379 password=123 db=0`. +- `QUEUE_CONN_STR`: **addrs=127.0.0.1:6379 db=0**: Task queue connection string, available only when `QUEUE_TYPE` is `redis`. If redis needs a password, use `addrs=127.0.0.1:6379 password=123 db=0`. ## Migrations (`migrations`) |