diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2023-06-01 20:19:24 +0200 |
---|---|---|
committer | Simon L <szaimen@e.mail.de> | 2023-06-12 09:44:48 +0200 |
commit | b8c61b3515ef406c4feafc851f12262e417ba157 (patch) | |
tree | 5c45a7174c899ef5dc1618158f57948cf7a551ff /DESIGN.md | |
parent | c93be182dc0172eed377ba70ce54cd7c83689764 (diff) | |
download | nextcloud-server-b8c61b3515ef406c4feafc851f12262e417ba157.tar.gz nextcloud-server-b8c61b3515ef406c4feafc851f12262e417ba157.zip |
fix(caching): Avoid checking existence before fetching
The cache might expire between checking for key existence and fetching
the value. In this rare case the code continues with a null value when
it doesn't expect one.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'DESIGN.md')
0 files changed, 0 insertions, 0 deletions