use rocksdb caches for a few of the lru_caches
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
fc44ba6ab3
commit
345be5ba5e
10 changed files with 133 additions and 192 deletions
src
|
@ -268,9 +268,7 @@ async fn stop(_server: &Server) -> io::Result<()> {
|
|||
|
||||
/// Async initializations
|
||||
async fn start(server: &Server) -> Result<(), Error> {
|
||||
let db_load_time = std::time::Instant::now();
|
||||
KeyValueDatabase::load_or_create(server.config.clone(), server.tracing_reload_handle.clone()).await?;
|
||||
info!("Database took {:?} to load", db_load_time.elapsed());
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue