mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Merge pull request #7235
00253b717
protocol: don't reset last request time on an idle timer (moneromooo-monero)
This commit is contained in:
commit
5767e6db90
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ namespace cryptonote
|
||||||
CHECK_AND_ASSERT_MES_CC( context.m_callback_request_count > 0, false, "false callback fired, but context.m_callback_request_count=" << context.m_callback_request_count);
|
CHECK_AND_ASSERT_MES_CC( context.m_callback_request_count > 0, false, "false callback fired, but context.m_callback_request_count=" << context.m_callback_request_count);
|
||||||
--context.m_callback_request_count;
|
--context.m_callback_request_count;
|
||||||
|
|
||||||
if(context.m_state == cryptonote_connection_context::state_synchronizing)
|
if(context.m_state == cryptonote_connection_context::state_synchronizing && context.m_last_request_time == boost::posix_time::not_a_date_time)
|
||||||
{
|
{
|
||||||
NOTIFY_REQUEST_CHAIN::request r = {};
|
NOTIFY_REQUEST_CHAIN::request r = {};
|
||||||
context.m_needed_objects.clear();
|
context.m_needed_objects.clear();
|
||||||
|
|
Loading…
Reference in a new issue