Add thread count to Td creation logging.

This commit is contained in:
levlam 2021-12-06 20:11:25 +03:00
parent e740f5f86c
commit 53b0cf792a
1 changed files with 2 additions and 1 deletions

View File

@ -2709,7 +2709,8 @@ Td::Td(unique_ptr<TdCallback> callback, Options options)
: callback_(std::move(callback)), td_options_(std::move(options)) {
CHECK(callback_ != nullptr);
LOG(INFO) << "Create Td with layer " << MTPROTO_LAYER << ", database version " << current_db_version()
<< " and version " << static_cast<int32>(Version::Next) - 1;
<< " and version " << static_cast<int32>(Version::Next) - 1 << " on "
<< Scheduler::instance()->sched_count() << " threads";
}
Td::~Td() = default;