We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec68c8d commit b538778Copy full SHA for b538778
lib/vsc/utils/cache.py
@@ -88,7 +88,7 @@ def update(self, key, data, threshold=None):
88
89
if not old_data or now - old_timestamp > threshold:
90
self.set(key=key, value=(now, data), expire=threshold)
91
- return self[key]
+ return (now, data)
92
else:
93
return (old_timestamp, old_data)
94
0 commit comments