doc fixes

This commit is contained in:
Boog900 2024-08-05 16:00:55 +01:00
parent 5fd310288c
commit fd6712aa38
No known key found for this signature in database
GPG key ID: 42AB1287CB0041C2
2 changed files with 3 additions and 2 deletions

View file

@ -37,6 +37,7 @@
//! - The last [`BlockchainWriteHandle`] is dropped => writer thread exits //! - The last [`BlockchainWriteHandle`] is dropped => writer thread exits
//! //!
//! TODO: update this when `ConcreteEnv` is removed //! TODO: update this when `ConcreteEnv` is removed
//!
//! Upon dropping the [`cuprate_database::ConcreteEnv`]: //! Upon dropping the [`cuprate_database::ConcreteEnv`]:
//! - All un-processed database transactions are completed //! - All un-processed database transactions are completed
//! - All data gets flushed to disk (caused by [`Drop::drop`] impl on `ConcreteEnv`) //! - All data gets flushed to disk (caused by [`Drop::drop`] impl on `ConcreteEnv`)

View file

@ -28,9 +28,9 @@ pub fn init_thread_pool(reader_threads: ReaderThreads) -> Arc<ThreadPool> {
} }
//---------------------------------------------------------------------------------------------------- ReaderThreads //---------------------------------------------------------------------------------------------------- ReaderThreads
/// Amount of database reader threads to spawn /// Amount of database reader threads to spawn.
/// ///
/// This controls how many reader thread `service`'s /// This controls how many reader threads the [`DatabaseReadService`](crate::DatabaseReadService)
/// thread-pool will spawn to receive and send requests/responses. /// thread-pool will spawn to receive and send requests/responses.
/// ///
/// # Invariant /// # Invariant