We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c4932c2 + 0c00238 commit cac0079Copy full SHA for cac0079
plugins/net_plugin/net_plugin.cpp
@@ -920,7 +920,7 @@ namespace eosio {
920
std::string remote_endpoint_ip GUARDED_BY(conn_mtx);
921
boost::asio::ip::address_v6::bytes_type remote_endpoint_ip_array GUARDED_BY(conn_mtx);
922
923
- std::chrono::nanoseconds connection_start_time{0};
+ std::atomic<std::chrono::nanoseconds> connection_start_time;
924
925
// block nack support
926
static constexpr uint16_t consecutive_block_nacks_threshold{2}; // stop sending blocks when reached
0 commit comments