Add nice messages for accepted and rejected shares with diff and latency.
This commit is contained in:
parent
71522214ae
commit
074db6bb72
17 changed files with 128 additions and 14 deletions
|
@ -111,6 +111,12 @@ void FailoverStrategy::onLoginSuccess(Client *client)
|
|||
}
|
||||
|
||||
|
||||
void FailoverStrategy::onResultAccepted(Client *client, uint32_t diff, uint64_t ms, const char *error)
|
||||
{
|
||||
m_listener->onResultAccepted(client, diff, ms, error);
|
||||
}
|
||||
|
||||
|
||||
void FailoverStrategy::add(const Url *url, const char *agent)
|
||||
{
|
||||
Client *client = new Client(m_pools.size(), agent, this);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue