diff options
Diffstat (limited to 'runtime/ops/timers.rs')
-rw-r--r-- | runtime/ops/timers.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/ops/timers.rs b/runtime/ops/timers.rs index a00b04ed0..783395cad 100644 --- a/runtime/ops/timers.rs +++ b/runtime/ops/timers.rs @@ -81,7 +81,7 @@ pub fn init(rt: &mut deno_core::JsRuntime) { super::reg_json_sync(rt, "op_global_timer_stop", op_global_timer_stop); super::reg_json_sync(rt, "op_global_timer_start", op_global_timer_start); super::reg_json_async(rt, "op_global_timer", op_global_timer); - rt.register_op("op_now", metrics_op(minimal_op(op_now))); + rt.register_op("op_now", metrics_op("op_now", minimal_op(op_now))); super::reg_json_sync(rt, "op_sleep_sync", op_sleep_sync); } |