Skip to content

Commit

Permalink
Update src/server/hotkey_collector.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Wu Tao <wutao1@xiaomi.com>
  • Loading branch information
Smityz and Wu Tao authored Nov 5, 2020
1 parent 176dc7c commit e59fda1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/server/hotkey_collector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ void hotkey_fine_data_collector::capture_data(const dsn::blob &hash_key, uint64_
if (get_bucket_id(hash_key) != _target_bucket_index) {
return;
}
// abandon the key if enqueue failed (possibly because not enough room to enqueue)
_capture_key_queue.try_enqueue(std::make_pair(hash_key, weight));
}

Expand Down

0 comments on commit e59fda1

Please sign in to comment.