mirror of
https://github.com/ltcptgeneral/cs239-caching.git
synced 2025-11-17 22:45:09 +00:00
add get user id endpoint (/users),
fix issue in tiered cache, update basic test with new user id set
This commit is contained in:
2
app/cache/tiered_cache.py
vendored
2
app/cache/tiered_cache.py
vendored
@@ -36,7 +36,7 @@ class TieredCache(BaselineCache):
|
||||
path = f"tiered_cache/{k}"
|
||||
self.l2_map[k] = path
|
||||
f = open(path, "w+")
|
||||
f.write(v)
|
||||
f.write(str(v))
|
||||
f.close()
|
||||
|
||||
self.cache[key] = val
|
||||
|
||||
Reference in New Issue
Block a user