mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-15 20:20:38 +00:00
HACK: set walredo process kind metric on startup
This commit is contained in:
@@ -2775,4 +2775,7 @@ pub fn preinitialize_metrics() {
|
||||
// Custom
|
||||
Lazy::force(&RECONSTRUCT_TIME);
|
||||
Lazy::force(&tenant_throttling::TIMELINE_GET);
|
||||
|
||||
// XXX this is a bit unclean
|
||||
crate::walredo::set_process_kind(crate::walredo::ProcessKind::DEFAULT);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user