diff options
| author | Matt Mastracci <matthew@mastracci.com> | 2023-11-05 14:27:36 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-05 14:27:36 -0700 |
| commit | 485fade0b6910e29557c6627d37985b47735bf8e (patch) | |
| tree | 0f6c97c135c8a92226caecb363effe7eabf47936 /runtime/worker_bootstrap.rs | |
| parent | 4530cd5f0d5e6acdbbb11a60eac711d47f274d3f (diff) | |
chore: migrate to new deno_core and metrics (#21057)
- Uses the new OpMetrics system for sync and async calls
- Partial revert of #21048 as we moved Array.fromAsync upstream to
deno_core
Diffstat (limited to 'runtime/worker_bootstrap.rs')
| -rw-r--r-- | runtime/worker_bootstrap.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/worker_bootstrap.rs b/runtime/worker_bootstrap.rs index b21b4aa21..9f2393ba4 100644 --- a/runtime/worker_bootstrap.rs +++ b/runtime/worker_bootstrap.rs @@ -44,6 +44,7 @@ pub struct BootstrapOptions { pub args: Vec<String>, pub cpu_count: usize, pub log_level: WorkerLogLevel, + pub enable_op_summary_metrics: bool, pub enable_testing_features: bool, pub locale: String, pub location: Option<ModuleSpecifier>, @@ -79,6 +80,7 @@ impl Default for BootstrapOptions { cpu_count, no_color: !colors::use_color(), is_tty: colors::is_tty(), + enable_op_summary_metrics: Default::default(), enable_testing_features: Default::default(), log_level: Default::default(), ts_version: Default::default(), |
