Browse Source

policy_cache.hpp

getattr-cache
Antonio SJ Musumeci 10 months ago
parent
commit
5ee6a72ec8
  1. 11
      src/policy_cache.hpp

11
src/policy_cache.hpp

@ -30,15 +30,6 @@
class PolicyCache
{
public:
struct Value
{
Value();
uint64_t time;
StrVec paths;
};
public:
PolicyCache(void);
@ -58,5 +49,5 @@ public:
private:
pthread_mutex_t _lock;
std::map<std::string,Value> _cache;
std::unordered_map<std::string,Value> _cache;
};
Loading…
Cancel
Save