Merge pull request #3466 from shleeable/patch-10

Horizon prefix - randomising prefix breaks horizon on cache rebuild
This commit is contained in:
daniel 2022-05-15 21:55:51 -06:00 committed by GitHub
commit 623a193436
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 2 deletions

View file

@ -83,6 +83,8 @@ REDIS_PASSWORD=redis_password
REDIS_PORT=6379 REDIS_PORT=6379
REDIS_DATABASE=0 REDIS_DATABASE=0
HORIZON_PREFIX="horizon-"
## EXPERIMENTS ## EXPERIMENTS
EXP_LC=false EXP_LC=false
EXP_REC=false EXP_REC=false
@ -145,4 +147,4 @@ TRUST_PROXIES="*"
## Passport ## Passport
#PASSPORT_PRIVATE_KEY= #PASSPORT_PRIVATE_KEY=
#PASSPORT_PUBLIC_KEY= #PASSPORT_PUBLIC_KEY=

View file

@ -23,6 +23,8 @@ CACHE_DRIVER=redis
SESSION_DRIVER=redis SESSION_DRIVER=redis
QUEUE_DRIVER=redis QUEUE_DRIVER=redis
HORIZON_PREFIX="horizon-"
REDIS_SCHEME=tcp REDIS_SCHEME=tcp
REDIS_HOST=127.0.0.1 REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null REDIS_PASSWORD=null

View file

@ -28,6 +28,8 @@ REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null REDIS_PASSWORD=null
REDIS_PORT=6379 REDIS_PORT=6379
HORIZON_PREFIX="horizon-"
MAIL_DRIVER=log MAIL_DRIVER=log
MAIL_HOST=smtp.mailtrap.io MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525 MAIL_PORT=2525

View file

@ -52,7 +52,7 @@ return [
| |
*/ */
'prefix' => env('HORIZON_PREFIX', 'horizon-'.str_random(8).':'), 'prefix' => env('HORIZON_PREFIX', 'horizon-'),
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------