change thread name

This commit is contained in:
Christian Schwarz
2024-04-05 17:57:41 +00:00
parent edd7f69c2d
commit 871a3caca9

View File

@@ -147,7 +147,7 @@ impl FromStr for TokioRuntimeMode {
}
static ONE_RUNTIME: Lazy<Option<tokio::runtime::Runtime>> = Lazy::new(|| {
let thread_name = "tokio-executor";
let thread_name = "pageserver-tokio";
let Some(mode) = env::var("NEON_PAGESERVER_USE_ONE_RUNTIME") else {
// If the env var is not set, leave this static as None.
set_tokio_runtime_setup(