private function startTimeRegister()
{
if ($this->rTimer === null && $this->flags['enableHeartbeat'] === true && $this->flags['enableTimeRegister'] === true) {
$proxy = $this;
$this->rTimer = $this->loop->addPeriodicTimer($this->options['timeRegisterInterval'] / 1000, function () use($proxy) {
$now = round(microtime(true) * 1000);
$proxy->connectionPool->setNow(function () use($now) {
return $now;
});
});
}
}