Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove unused members from recommender_serv: refs #293

  • Loading branch information...
commit 2cb9c81bd2d0c2ff7326d6c2d9e63b904dee364a 1 parent 065055c
@suma suma authored
View
8 src/server/recommender_serv.cpp
@@ -72,9 +72,7 @@ recommender_serv::recommender_serv(
: server_base(a),
mixer_(create_mixer(a, zk)),
clear_row_cnt_(),
- update_row_cnt_(),
- build_cnt_(),
- mix_cnt_() {
+ update_row_cnt_() {
}
recommender_serv::~recommender_serv() {
@@ -84,8 +82,6 @@ void recommender_serv::get_status(status_t& status) const {
status_t my_status;
my_status["clear_row_cnt"] = lexical_cast<string>(clear_row_cnt_);
my_status["update_row_cnt"] = lexical_cast<string>(update_row_cnt_);
- my_status["build_cnt"] = lexical_cast<string>(build_cnt_);
- my_status["mix_cnt"] = lexical_cast<string>(mix_cnt_);
status.insert(my_status.begin(), my_status.end());
}
@@ -146,8 +142,6 @@ bool recommender_serv::clear() {
clear_row_cnt_ = 0;
update_row_cnt_ = 0;
- build_cnt_ = 0;
- mix_cnt_ = 0;
recommender_->clear();
LOG(INFO) << "model cleared: " << argv().name;
View
2  src/server/recommender_serv.hpp
@@ -72,8 +72,6 @@ class recommender_serv : public framework::server_base {
uint64_t clear_row_cnt_;
uint64_t update_row_cnt_;
- uint64_t build_cnt_;
- uint64_t mix_cnt_;
};
} // namespace server
Please sign in to comment.
Something went wrong with that request. Please try again.