From 068f0d9a0b80cbcdb6bf6600c6428df33bbbb1d5 Mon Sep 17 00:00:00 2001 From: Zhou SiLe Date: Sun, 21 Jul 2024 22:45:18 +0800 Subject: [PATCH] Update src/storage/storage.h Co-authored-by: mwish --- src/storage/storage.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/storage/storage.h b/src/storage/storage.h index f6a2f084d05..3793220d7ad 100644 --- a/src/storage/storage.h +++ b/src/storage/storage.h @@ -370,8 +370,10 @@ class Storage { }; /// Context passes fixed snapshot and batche between APIs +/// /// Limitations: Performing a large number of writes on the same Context may reduce performance. /// Please choose to use the same Context or create a new Context based on the actual situation. +/// /// Context does not provide thread safety guarantees and is generally only passed as a parameter between APIs. struct Context { engine::Storage *storage = nullptr;