loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Don't have `redis-cluster` as possible cache/session adapter in docs (#30794)

This is because it doesn't exist as an adapter. The `redis` adapter
already handles Redis cluster configurations.

Fixes #30534.

(cherry picked from commit f135cb7c9457f7b9bdc43601f44757834573950f)

Conflicts:
docs/content/administration/config-cheat-sheet.en-us.md
does not exist in Forgejo

authored by

Kemal Zebari and committed by
Earl Warren
f0e46642 1a40fe54

+5 -7
+5 -7
custom/conf/app.example.ini
··· 1471 1471 ;; Batch size to send for batched queues 1472 1472 ;BATCH_LENGTH = 20 1473 1473 ;; 1474 - ;; Connection string for redis queues this will store the redis or redis-cluster connection string. 1474 + ;; Connection string for redis queues this will store the redis (or Redis cluster) connection string. 1475 1475 ;; When `TYPE` is `persistable-channel`, this provides a directory for the underlying leveldb 1476 1476 ;; or additional options of the form `leveldb://path/to/db?option=value&....`, and will override `DATADIR`. 1477 1477 ;CONN_STR = "redis://127.0.0.1:6379/0" ··· 1756 1756 ;; For "memory" only, GC interval in seconds, default is 60 1757 1757 ;INTERVAL = 60 1758 1758 ;; 1759 - ;; For "redis", "redis-cluster" and "memcache", connection host address 1760 - ;; redis: `redis://127.0.0.1:6379/0?pool_size=100&idle_timeout=180s` 1761 - ;; redis-cluster: `redis+cluster://127.0.0.1:6379/0?pool_size=100&idle_timeout=180s` 1759 + ;; For "redis" and "memcache", connection host address 1760 + ;; redis: `redis://127.0.0.1:6379/0?pool_size=100&idle_timeout=180s` (or `redis+cluster://127.0.0.1:6379/0?pool_size=100&idle_timeout=180s` for a Redis cluster) 1762 1761 ;; memcache: `127.0.0.1:11211` 1763 1762 ;; twoqueue: `{"size":50000,"recent_ratio":0.25,"ghost_ratio":0.5}` or `50000` 1764 1763 ;HOST = ··· 1788 1787 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 1789 1788 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 1790 1789 ;; 1791 - ;; Either "memory", "file", "redis", "redis-cluster", "db", "mysql", "couchbase", "memcache" or "postgres" 1790 + ;; Either "memory", "file", "redis", "db", "mysql", "couchbase", "memcache" or "postgres" 1792 1791 ;; Default is "memory". "db" will reuse the configuration in [database] 1793 1792 ;PROVIDER = memory 1794 1793 ;; 1795 1794 ;; Provider config options 1796 1795 ;; memory: doesn't have any config yet 1797 1796 ;; file: session file path, e.g. `data/sessions` 1798 - ;; redis: `redis://127.0.0.1:6379/0?pool_size=100&idle_timeout=180s` 1799 - ;; redis-cluster: `redis+cluster://127.0.0.1:6379/0?pool_size=100&idle_timeout=180s` 1797 + ;; redis: `redis://127.0.0.1:6379/0?pool_size=100&idle_timeout=180s` (or `redis+cluster://127.0.0.1:6379/0?pool_size=100&idle_timeout=180s` for a Redis cluster) 1800 1798 ;; mysql: go-sql-driver/mysql dsn config string, e.g. `root:password@/session_table` 1801 1799 ;PROVIDER_CONFIG = data/sessions ; Relative paths will be made absolute against _`AppWorkPath`_. 1802 1800 ;;