mirror of
https://github.com/wassname/ray.git
synced 2026-07-23 13:10:11 +08:00
Fix bug that otal_commands_queued_ is not initialized (#13852)
This commit is contained in:
@@ -45,7 +45,7 @@ class GcsPubSub {
|
||||
using Callback = std::function<void(const std::string &id, const std::string &data)>;
|
||||
|
||||
explicit GcsPubSub(std::shared_ptr<RedisClient> redis_client)
|
||||
: redis_client_(redis_client) {}
|
||||
: redis_client_(redis_client), total_commands_queued_(0) {}
|
||||
|
||||
virtual ~GcsPubSub() = default;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user