summaryrefslogtreecommitdiff
path: root/runtime/worker.rs
diff options
context:
space:
mode:
authorSatya Rohith <me@satyarohith.com>2024-03-13 22:52:25 +0530
committerGitHub <noreply@github.com>2024-03-13 17:22:25 +0000
commit0fd8f549e2194223eca2d4b17f4e96cd5a0f5fd5 (patch)
tree76181b2a5f2991134f7343cfc6d4b8b755dbc333 /runtime/worker.rs
parentb3ca3b2f25931afb350027bde87dc3d4f9a741b0 (diff)
fix(ext/node): allow automatic worker_thread termination (#22647)
Co-authored-by: Matt Mastracci <matthew@mastracci.com>
Diffstat (limited to 'runtime/worker.rs')
-rw-r--r--runtime/worker.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/worker.rs b/runtime/worker.rs
index 2fd68dafe..97ea53980 100644
--- a/runtime/worker.rs
+++ b/runtime/worker.rs
@@ -227,7 +227,7 @@ impl Default for WorkerOptions {
}
}
-fn create_op_metrics(
+pub fn create_op_metrics(
enable_op_summary_metrics: bool,
strace_ops: Option<Vec<String>>,
) -> (