mirror of
https://github.com/trapexit/mergerfs.git
synced 2024-11-29 03:48:23 +08:00
policy_cache.hpp
This commit is contained in:
parent
18f960a742
commit
8777243fc8
|
@ -61,16 +61,15 @@ public:
|
|||
{
|
||||
Val val;
|
||||
uint64_t hash;
|
||||
STRPOOL_U64 token;
|
||||
|
||||
val = val_;
|
||||
hash = wyhash(key_,keylen_,0xdeadbeef,_wyp);
|
||||
_cache.insert_or_assign(hash,val_);
|
||||
|
||||
fmt::print("insert {}={} token={}\n",
|
||||
fmt::print("insert {}={}\n",
|
||||
key_,
|
||||
val_,
|
||||
token);
|
||||
val.get());
|
||||
|
||||
|
||||
|
||||
return val;
|
||||
|
|
Loading…
Reference in New Issue
Block a user