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