mirror of
https://github.com/tdlight-team/tdlight-telegram-bot-api.git
synced 2025-01-11 12:35:51 +01:00
Fix #64
This commit is contained in:
parent
3e79d99dfc
commit
d7f30ca00e
@ -438,7 +438,7 @@ void ClientManager::start_up() {
|
||||
parameters_->shared_data_->webhook_db_ = std::move(concurrent_webhook_db);
|
||||
|
||||
auto concurrent_user_db = td::make_unique<td::BinlogKeyValue<td::ConcurrentBinlog>>();
|
||||
status = concurrent_user_db->init("user_db.binlog", td::DbKey::empty(), scheduler_id);
|
||||
status = concurrent_user_db->init(parameters_->working_directory_ + "user_db.binlog", td::DbKey::empty(), scheduler_id);
|
||||
LOG_IF(FATAL, status.is_error()) << "Can't open user_db.binlog " << status.error();
|
||||
parameters_->shared_data_->user_db_ = std::move(concurrent_user_db);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user