From b4684cf37a79be292cb064ebfd4f107c83b1f364 Mon Sep 17 00:00:00 2001 From: fangfengbin <869218239a@zju.edu.cn> Date: Wed, 3 Feb 2021 10:00:15 +0800 Subject: [PATCH] Fix bug that otal_commands_queued_ is not initialized (#13852) --- src/ray/gcs/pubsub/gcs_pub_sub.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ray/gcs/pubsub/gcs_pub_sub.h b/src/ray/gcs/pubsub/gcs_pub_sub.h index e5b3c1509..b871a02b1 100644 --- a/src/ray/gcs/pubsub/gcs_pub_sub.h +++ b/src/ray/gcs/pubsub/gcs_pub_sub.h @@ -45,7 +45,7 @@ class GcsPubSub { using Callback = std::function; explicit GcsPubSub(std::shared_ptr redis_client) - : redis_client_(redis_client) {} + : redis_client_(redis_client), total_commands_queued_(0) {} virtual ~GcsPubSub() = default;