commit
a4d2fd6427
3 changed files with 8 additions and 9 deletions
|
|
@ -32,13 +32,16 @@ if (USE_PCH)
|
||||||
include (cotire)
|
include (cotire)
|
||||||
endif(USE_PCH)
|
endif(USE_PCH)
|
||||||
|
|
||||||
list( APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/libraries/fc/CMakeModules" )
|
IF( NOT WIN32 )
|
||||||
|
list( APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/libraries/fc/CMakeModules" )
|
||||||
|
ENDIF( NOT WIN32 )
|
||||||
list( APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/libraries/fc/GitVersionGen" )
|
list( APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/libraries/fc/GitVersionGen" )
|
||||||
include( GetGitRevisionDescription )
|
include( GetGitRevisionDescription )
|
||||||
get_git_head_revision( GIT_REFSPEC GIT_SHA2 )
|
get_git_head_revision( GIT_REFSPEC GIT_SHA2 )
|
||||||
|
|
||||||
SET(BOOST_COMPONENTS)
|
SET(BOOST_COMPONENTS)
|
||||||
LIST(APPEND BOOST_COMPONENTS thread
|
LIST(APPEND BOOST_COMPONENTS thread
|
||||||
|
iostreams
|
||||||
date_time
|
date_time
|
||||||
system
|
system
|
||||||
filesystem
|
filesystem
|
||||||
|
|
|
||||||
|
|
@ -387,6 +387,6 @@ void database::notify_changed_objects()
|
||||||
removed_objects(removed_ids, removed, removed_accounts_impacted);
|
removed_objects(removed_ids, removed, removed_accounts_impacted);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} FC_CAPTURE_AND_LOG( () ) }
|
} FC_CAPTURE_AND_LOG( (0) ) }
|
||||||
|
|
||||||
} }
|
} }
|
||||||
|
|
|
||||||
|
|
@ -974,11 +974,7 @@ namespace graphene { namespace net { namespace detail {
|
||||||
{
|
{
|
||||||
throw;
|
throw;
|
||||||
}
|
}
|
||||||
catch (const fc::exception& e)
|
FC_CAPTURE_AND_LOG( (0) )
|
||||||
{
|
|
||||||
elog("${e}", ("e", e));
|
|
||||||
}
|
|
||||||
FC_CAPTURE_AND_LOG( () )
|
|
||||||
}// while(!canceled)
|
}// while(!canceled)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -4193,7 +4189,7 @@ namespace graphene { namespace net { namespace detail {
|
||||||
|
|
||||||
// limit the rate at which we accept connections to mitigate DOS attacks
|
// limit the rate at which we accept connections to mitigate DOS attacks
|
||||||
fc::usleep( fc::milliseconds(10) );
|
fc::usleep( fc::milliseconds(10) );
|
||||||
} FC_CAPTURE_AND_LOG( () )
|
} FC_CAPTURE_AND_LOG( (0) )
|
||||||
}
|
}
|
||||||
} // accept_loop()
|
} // accept_loop()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue