Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tvorogme committed Sep 9, 2024
1 parent 081417f commit 57a9fdc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion adnl/adnl-ext-server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ void AdnlExtServerImpl::accepted(td::SocketFd fd) {
auto &connection_count = ip_connection_count_[addr];
connection_count++;
if (connection_count > 10){
LOG(INFO) << "Drop connection from: " << addr << " too many connections";
fd.close();
} else {
LOG(INFO) << "Accept from: " << addr << " connections: " << connection_count;
Expand Down
2 changes: 1 addition & 1 deletion lite-server-daemon/adnl-lite-proxy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1148,7 +1148,7 @@ namespace ton::liteserver {
last_master = std::get<1>(private_servers_status_.begin()->second);
}

query_compiled = "waitSeqno: " + e->seqno_;
query_compiled = "waitSeqno: " + std::to_string(e->seqno_);

if (static_cast<BlockSeqno>(e->seqno_) <= last_master) {
LOG(INFO) << "Pass through wait for block: " << e->seqno_;
Expand Down

0 comments on commit 57a9fdc

Please sign in to comment.