File redis.ini of Package php7-redis
; comment out next line to disable redis extension in php
; Should the locking be enabled? Defaults to: 0.
;redis.session.locking_enabled = 0
; How long should the lock live (in seconds)? Defaults to: value of max_execution_time.
;redis.session.lock_expire = 60
; How long to wait between attempts to acquire lock, in microseconds (µs)?. Defaults to: 2000
;redis.session.lock_wait_time = 2000
; Maximum number of times to retry (-1 means infinite). Defaults to: 10
;redis.session.lock_retries = 10