commit | 075bd9d55b65d5b8f291f420f53c800288bb6b52 | [log] [tgz] |
---|---|---|
author | Zhenkai Zhu <zhenkai@cs.ucla.edu> | Thu Mar 08 16:06:45 2012 -0800 |
committer | Zhenkai Zhu <zhenkai@cs.ucla.edu> | Thu Mar 08 16:06:45 2012 -0800 |
tree | 829827f99b2d95ebc9b644830de4bd84770ed7bd | |
parent | db6b7b87bfe7197b2e6a4cba67fd6f38a5396d67 [diff] [blame] |
interest table expiration
diff --git a/model/sync-interest-table.h b/model/sync-interest-table.h index c489909..0b5ead5 100644 --- a/model/sync-interest-table.h +++ b/model/sync-interest-table.h
@@ -67,7 +67,7 @@ void periodicCheck(); private: - static int m_checkPeriod = 4; + static const int m_checkPeriod = 4; boost::unordered_map<std::string, time_t> m_table; // pit entries boost::thread m_thread; // thread to check every 4 sec boost::recursive_mutex m_mutex;