Fix previous commit.
GitOrigin-RevId: 16029bdbf50092ff2e440869d5352b72e5628476
This commit is contained in:
parent
7de9a0c15d
commit
105e0e3b84
@ -262,6 +262,7 @@ void ConnectionCreator::add_proxy(string server, int32 port, bool enable,
|
|||||||
proxies_.emplace(proxy_id, std::move(new_proxy));
|
proxies_.emplace(proxy_id, std::move(new_proxy));
|
||||||
G()->td_db()->get_binlog_pmc()->set(get_proxy_database_key(proxy_id),
|
G()->td_db()->get_binlog_pmc()->set(get_proxy_database_key(proxy_id),
|
||||||
log_event_store(proxies_[proxy_id]).as_slice().str());
|
log_event_store(proxies_[proxy_id]).as_slice().str());
|
||||||
|
return proxy_id;
|
||||||
}();
|
}();
|
||||||
if (enable) {
|
if (enable) {
|
||||||
enable_proxy_impl(proxy_id);
|
enable_proxy_impl(proxy_id);
|
||||||
|
Loading…
Reference in New Issue
Block a user