mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
fixed #1429. Don't use monotonic timer for Win32
This commit is contained in:
@@ -137,7 +137,11 @@ namespace i2p
|
||||
std::shared_ptr<i2p::crypto::CryptoKeyDecryptor> m_Decryptor;
|
||||
uint64_t m_LastUpdateTime; // in seconds
|
||||
bool m_AcceptsTunnels, m_IsFloodfill;
|
||||
#ifdef WIN32
|
||||
uint64_t m_StartupTime = 0; // in seconds since epoch
|
||||
#else
|
||||
std::chrono::time_point<std::chrono::steady_clock> m_StartupTime;
|
||||
#endif
|
||||
uint64_t m_BandwidthLimit; // allowed bandwidth
|
||||
int m_ShareRatio;
|
||||
RouterStatus m_Status;
|
||||
|
||||
Reference in New Issue
Block a user