Skip to content

Commit

Permalink
Merge pull request #6 from NoodleDoodleNoodleDoodleNoodleDoodleNoo/pa…
Browse files Browse the repository at this point in the history
…tch-3

Update simpleminer.cpp
  • Loading branch information
monero-project committed May 12, 2014
2 parents 5ceffa8 + 26c1a85 commit 90a67a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/miner/simpleminer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ namespace mining
if(!m_http_client.is_connected())
{
LOG_PRINT_L0("Connecting " << m_pool_ip << ":" << m_pool_port << "....");
if(!m_http_client.connect(m_pool_ip, m_pool_port, 1000))
if(!m_http_client.connect(m_pool_ip, m_pool_port, 10000))
{
LOG_PRINT_L0("Failed to connect " << m_pool_ip << ":" << m_pool_port << ", sleep....");
epee::misc_utils::sleep_no_w(1000);
Expand Down Expand Up @@ -198,7 +198,7 @@ namespace mining
LOG_PRINT_L0("Can't get new job! Disconnect and sleep....");
m_http_client.disconnect();
epee::misc_utils::sleep_no_w(1000);
break;
continue;
}
if (getjob_response.blob.empty() && getjob_response.target.empty() && getjob_response.job_id.empty())
{
Expand Down

0 comments on commit 90a67a9

Please sign in to comment.