Skip to content

Commit

Permalink
Merge pull request steemit#2226 from steemit/2221-disable-p2p-stats
Browse files Browse the repository at this point in the history
Disable p2p stats
  • Loading branch information
Michael Vandeberg authored Mar 13, 2018
2 parents c5f4e16 + 9b5ab1e commit b60b99d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions libraries/net/node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5448,6 +5448,10 @@ namespace graphene { namespace net {
throw; \
}
#else
#define INVOKE_AND_COLLECT_STATISTICS( method_name, ... ) \
FC_UNUSED( _thread ) \
return _node_delegate->method_name(__VA_ARGS__);
/*
# define INVOKE_AND_COLLECT_STATISTICS(method_name, ...) \
call_statistics_collector statistics_collector(#method_name, \
&_ ## method_name ## _execution_accumulator, \
Expand All @@ -5471,6 +5475,7 @@ namespace graphene { namespace net {
call_statistics_collector::actual_execution_measurement_helper helper(statistics_collector); \
return _node_delegate->method_name(__VA_ARGS__); \
}, "invoke " BOOST_STRINGIZE(method_name)).wait()
*/
#endif

steem::protocol::chain_id_type statistics_gathering_node_delegate_wrapper::get_chain_id() const
Expand Down

0 comments on commit b60b99d

Please sign in to comment.