File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -480,9 +480,9 @@ struct Peer {
480480
481481 /* * Number of addresses that can be processed from this peer. Start at 1 to
482482 * permit self-announcement. */
483- double m_addr_token_bucket GUARDED_BY (NetEventsInterface::g_msgproc_mutex) {1.0 };
483+ double m_addr_token_bucket{1.0 };
484484 /* * When m_addr_token_bucket was last updated */
485- std::chrono::microseconds m_addr_token_timestamp GUARDED_BY (NetEventsInterface::g_msgproc_mutex) {GetTime<std::chrono::microseconds>()};
485+ std::chrono::microseconds m_addr_token_timestamp{GetTime<std::chrono::microseconds>()};
486486 /* * Total number of addresses that were dropped due to rate limiting. */
487487 std::atomic<uint64_t > m_addr_rate_limited{0 };
488488 /* * Total number of addresses that were processed (excludes rate-limited ones). */
You can’t perform that action at this time.
0 commit comments