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.

Fix incorrect Redis URL snippets in the example app.ini (#22573)

Fixes #22571

Co-authored-by: Yarden Shoham <hrsi88@gmail.com>

authored by

tiny6996
Yarden Shoham
and committed by
GitHub
29b78bce 21dd4a25

+4 -4
+4 -4
custom/conf/app.example.ini
··· 1721 1721 ;INTERVAL = 60 1722 1722 ;; 1723 1723 ;; For "redis" and "memcache", connection host address 1724 - ;; redis: network=tcp,addr=:6379,password=macaron,db=0,pool_size=100,idle_timeout=180 1724 + ;; redis: `redis://127.0.0.1:6379/0?pool_size=100&idle_timeout=180s` 1725 1725 ;; memcache: `127.0.0.1:11211` 1726 1726 ;; twoqueue: `{"size":50000,"recent_ratio":0.25,"ghost_ratio":0.5}` or `50000` 1727 1727 ;HOST = ··· 1760 1760 ;; Provider config options 1761 1761 ;; memory: doesn't have any config yet 1762 1762 ;; file: session file path, e.g. `data/sessions` 1763 - ;; redis: network=tcp,addr=:6379,password=macaron,db=0,pool_size=100,idle_timeout=180 1763 + ;; redis: `redis://127.0.0.1:6379/0?pool_size=100&idle_timeout=180s` 1764 1764 ;; mysql: go-sql-driver/mysql dsn config string, e.g. `root:password@/session_table` 1765 1765 ;PROVIDER_CONFIG = data/sessions ; Relative paths will be made absolute against _`AppWorkPath`_. 1766 1766 ;; ··· 2380 2380 ;QUEUE_LENGTH = 1000 2381 2381 ;; 2382 2382 ;; Task queue connection string, available only when `QUEUE_TYPE` is `redis`. 2383 - ;; If there is a password of redis, use `addrs=127.0.0.1:6379 password=123 db=0`. 2384 - ;QUEUE_CONN_STR = "addrs=127.0.0.1:6379 db=0" 2383 + ;; If there is a password of redis, use `redis://127.0.0.1:6379/0?pool_size=100&idle_timeout=180s`. 2384 + ;QUEUE_CONN_STR = "redis://127.0.0.1:6379/0?pool_size=100&idle_timeout=180s" 2385 2385 2386 2386 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 2387 2387 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;