Skip to content

Commit 733a7c2

Browse files
Update core/src/sql/db_connection_pool/runtime.rs
Co-authored-by: Phillip LeBlanc <phillip@leblanc.tech>
1 parent 004b6e5 commit 733a7c2

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

core/src/sql/db_connection_pool/runtime.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ use std::{future::Future, sync::OnceLock};
66
use tokio::runtime::{Handle, Runtime};
77

88
pub fn get_tokio_runtime() -> &'static Runtime {
9-
// TODO: this function is a repetition of python/src/utils.rs::get_tokio_runtime.
10-
// Think about how to refactor it
119
static RUNTIME: OnceLock<Runtime> = OnceLock::new();
1210
RUNTIME.get_or_init(|| Runtime::new().expect("Failed to create Tokio runtime"))
1311
}

0 commit comments

Comments
 (0)