Skip to content

Commit 506ae7f

Browse files
committed
Merge remote-tracking branch 'spring/release/1.1' into fix-thread-prometheus-main
2 parents 32b66ca + cac0079 commit 506ae7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/net_plugin/net_plugin.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -921,7 +921,7 @@ namespace eosio {
921921
std::string remote_endpoint_ip GUARDED_BY(conn_mtx);
922922
boost::asio::ip::address_v6::bytes_type remote_endpoint_ip_array GUARDED_BY(conn_mtx);
923923

924-
std::chrono::nanoseconds connection_start_time{0};
924+
std::atomic<std::chrono::nanoseconds> connection_start_time;
925925

926926
// block nack support
927927
static constexpr uint16_t consecutive_block_nacks_threshold{2}; // stop sending blocks when reached

0 commit comments

Comments
 (0)