kubernites
Some checks failed
Cadoles/nineskeletor/pipeline/head There was a failure building this commit
Some checks failed
Cadoles/nineskeletor/pipeline/head There was a failure building this commit
This commit is contained in:
@ -8,6 +8,7 @@ framework:
|
||||
# Remove or comment this section to explicitly disable session support.
|
||||
session:
|
||||
handler_id: Symfony\Component\HttpFoundation\Session\Storage\Handler\RedisSessionHandler
|
||||
save_path: '@Redis'
|
||||
name: '%env(APP_ALIAS)%'
|
||||
gc_probability: null
|
||||
gc_maxlifetime: '%env(resolve:APP_SESSIONTIME)%'
|
||||
|
@ -159,12 +159,20 @@ services:
|
||||
tags: ['controller.service_arguments']
|
||||
|
||||
Redis:
|
||||
class: Redis
|
||||
calls:
|
||||
- connect:
|
||||
- '%env(REDIS_HOST)%'
|
||||
- '%env(int:REDIS_PORT)%'
|
||||
|
||||
class: Predis\Client
|
||||
arguments:
|
||||
-
|
||||
-
|
||||
scheme: 'tcp'
|
||||
host: '%env(resolve:REDIS_HOST)%'
|
||||
port: '%env(resolve:REDIS_PORT)%'
|
||||
-
|
||||
replication: 'sentinel'
|
||||
service: 'mymaster'
|
||||
connection_timeout: 100
|
||||
read_write_timeout: 300
|
||||
|
||||
|
||||
Symfony\Component\HttpFoundation\Session\Storage\Handler\RedisSessionHandler:
|
||||
arguments:
|
||||
- '@Redis'
|
||||
|
Reference in New Issue
Block a user