mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-23 13:33:18 +00:00
Merge pull request #3466 from shleeable/patch-10
Horizon prefix - randomising prefix breaks horizon on cache rebuild
This commit is contained in:
commit
623a193436
4 changed files with 8 additions and 2 deletions
|
@ -83,6 +83,8 @@ REDIS_PASSWORD=redis_password
|
|||
REDIS_PORT=6379
|
||||
REDIS_DATABASE=0
|
||||
|
||||
HORIZON_PREFIX="horizon-"
|
||||
|
||||
## EXPERIMENTS
|
||||
EXP_LC=false
|
||||
EXP_REC=false
|
||||
|
@ -145,4 +147,4 @@ TRUST_PROXIES="*"
|
|||
|
||||
## Passport
|
||||
#PASSPORT_PRIVATE_KEY=
|
||||
#PASSPORT_PUBLIC_KEY=
|
||||
#PASSPORT_PUBLIC_KEY=
|
||||
|
|
|
@ -23,6 +23,8 @@ CACHE_DRIVER=redis
|
|||
SESSION_DRIVER=redis
|
||||
QUEUE_DRIVER=redis
|
||||
|
||||
HORIZON_PREFIX="horizon-"
|
||||
|
||||
REDIS_SCHEME=tcp
|
||||
REDIS_HOST=127.0.0.1
|
||||
REDIS_PASSWORD=null
|
||||
|
|
|
@ -28,6 +28,8 @@ REDIS_HOST=127.0.0.1
|
|||
REDIS_PASSWORD=null
|
||||
REDIS_PORT=6379
|
||||
|
||||
HORIZON_PREFIX="horizon-"
|
||||
|
||||
MAIL_DRIVER=log
|
||||
MAIL_HOST=smtp.mailtrap.io
|
||||
MAIL_PORT=2525
|
||||
|
|
|
@ -52,7 +52,7 @@ return [
|
|||
|
|
||||
*/
|
||||
|
||||
'prefix' => env('HORIZON_PREFIX', 'horizon-'.str_random(8).':'),
|
||||
'prefix' => env('HORIZON_PREFIX', 'horizon-'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue