Skip to content

Commit

Permalink
Update src/storage/storage.h
Browse files Browse the repository at this point in the history
Co-authored-by: mwish <[email protected]>
  • Loading branch information
PokIsemaine and mapleFU committed Jul 21, 2024
1 parent 56508c0 commit 068f0d9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/storage/storage.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 068f0d9

Please sign in to comment.