PromPHP/prometheus_client_php

Redis::ensureOpenConnection should only connect once

dirx opened this issue · 0 comments

dirx commented

Hi,

looks like $this->connectionInitialized = true; is not set at the end of method Redis::ensureOpenConnection after successful calling$this->connectToServer()and setting options. This leads to new connects on each call.