public function __construct($offset = 3600000.0, $heartbeat = 200.0) { $this->connectionPool = []; $this->keepaliveOffset = $offset; $this->heartbeatOffset = $heartbeat; $this->resetNow(); }