mirror of
https://github.com/GOSTSec/poolserver
synced 2025-01-15 01:00:10 +00:00
Visual fix
This commit is contained in:
parent
4df0c537a3
commit
4d1ba03569
@ -100,7 +100,7 @@ namespace Stratum
|
|||||||
{
|
{
|
||||||
_clients.erase(client);
|
_clients.erase(client);
|
||||||
client->CloseSocket();
|
client->CloseSocket();
|
||||||
sLog.Debug(LOG_STRATUM, "Stratum client disconnected from %s. Total clients: %u", asio::ip::address_v4(client->GetIP()).to_string().c_str(), _clients.size());
|
sLog.Info(LOG_STRATUM, "Stratum client disconnected from %s. Total clients: %u", asio::ip::address_v4(client->GetIP()).to_string().c_str(), _clients.size());
|
||||||
}
|
}
|
||||||
|
|
||||||
void Ban(uint32 ip, uint64 time)
|
void Ban(uint32 ip, uint64 time)
|
||||||
@ -136,7 +136,7 @@ namespace Stratum
|
|||||||
if (!error) {
|
if (!error) {
|
||||||
if (client->Start()) {
|
if (client->Start()) {
|
||||||
_clients.insert(client);
|
_clients.insert(client);
|
||||||
sLog.Debug(LOG_STRATUM, "New stratum client accepted from %s. Total clients: %u", asio::ip::address_v4(client->GetIP()).to_string().c_str(), _clients.size());
|
sLog.Info(LOG_STRATUM, "New stratum client accepted from %s. Total clients: %u", asio::ip::address_v4(client->GetIP()).to_string().c_str(), _clients.size());
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
sLog.Debug(LOG_STRATUM, "Failed to accept stratum client");
|
sLog.Debug(LOG_STRATUM, "Failed to accept stratum client");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user