mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-18 13:40:37 +00:00
cargo fmt
This commit is contained in:
@@ -30,6 +30,7 @@ pub struct LfcMetrics {
|
||||
// index 59 is size of working set accessed within last 60 minutes.
|
||||
pub lfc_approximate_working_set_size_windows: [i64; 60],
|
||||
}
|
||||
|
||||
pub fn callback_get_lfc_metrics() -> LfcMetrics {
|
||||
unsafe { callback_get_lfc_metrics_unsafe() }
|
||||
}
|
||||
|
||||
@@ -32,10 +32,7 @@ pub extern "C" fn communicator_worker_process_launch(
|
||||
.build()
|
||||
.unwrap();
|
||||
|
||||
let worker_struct = runtime.block_on(main_loop::init(
|
||||
tenant_id,
|
||||
timeline_id,
|
||||
));
|
||||
let worker_struct = runtime.block_on(main_loop::init(tenant_id, timeline_id));
|
||||
let worker_struct = Box::leak(Box::new(worker_struct));
|
||||
|
||||
runtime.block_on(worker_struct.launch_metrics_exporter());
|
||||
|
||||
Reference in New Issue
Block a user