mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-28 15:05:53 +00:00
Tie in transaction master code.
This commit is contained in:
@@ -31,7 +31,7 @@ protected:
|
||||
std::map<key_type, weak_data_ptr> mMap; // Track stored objects
|
||||
|
||||
public:
|
||||
TaggedCache(int size, int age) : mTargetSize(size), mTargetAge(age), mLastSweep(0) { ; }
|
||||
TaggedCache(int size, int age) : mTargetSize(size), mTargetAge(age), mLastSweep(time(NULL)) { ; }
|
||||
int getTargetSize() const;
|
||||
int getTargetAge() const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user