From 7603d1a71bb0f0586cd1b218c0a326c65b19cabb Mon Sep 17 00:00:00 2001 From: Benjamin Sergeant Date: Thu, 11 Jun 2020 08:33:36 -0700 Subject: [PATCH] (redis cobra bots) ws cobra metrics to redis / hostname invalid parsing --- docs/CHANGELOG.md | 4 ++++ ixwebsocket/IXWebSocketVersion.h | 2 +- ws/ws.cpp | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index f1fad782..3f08a62f 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -1,6 +1,10 @@ # Changelog All changes to this project will be documented in this file. +## [9.7.1] - 2020-06-11 + +(redis cobra bots) ws cobra metrics to redis / hostname invalid parsing + ## [9.7.0] - 2020-06-11 (redis cobra bots) xadd with maxlen + fix bug in xadd client implementation and ws cobra metrics to redis command argument parsing diff --git a/ixwebsocket/IXWebSocketVersion.h b/ixwebsocket/IXWebSocketVersion.h index 514a2023..0afde383 100644 --- a/ixwebsocket/IXWebSocketVersion.h +++ b/ixwebsocket/IXWebSocketVersion.h @@ -6,4 +6,4 @@ #pragma once -#define IX_WEBSOCKET_VERSION "9.7.0" +#define IX_WEBSOCKET_VERSION "9.7.1" diff --git a/ws/ws.cpp b/ws/ws.cpp index 50b89320..f32259dd 100644 --- a/ws/ws.cpp +++ b/ws/ws.cpp @@ -605,7 +605,7 @@ int main(int argc, char** argv) else if (app.got_subcommand("cobra_metrics_to_redis")) { ix::RedisClient redisClient; - if (!redisClient.connect(redisHosts, redisPort)) + if (!redisClient.connect(hostname, redisPort)) { spdlog::error("Cannot connect to redis host {}:{}", redisHosts, redisPort);