summaryrefslogtreecommitdiff
path: root/ext/web/timers.rs
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2023-06-26 15:10:27 +0200
committerGitHub <noreply@github.com>2023-06-26 09:10:27 -0400
commit801b9ec62d94f201e67d053ee90dae0b70e50a42 (patch)
tree145f840c570dd72258ef309e9d31f100a5aa5786 /ext/web/timers.rs
parentad3c494b46c97f0cf91098b7ec2afa576ea7a3dd (diff)
chore: fix typos (#19572)
Diffstat (limited to 'ext/web/timers.rs')
-rw-r--r--ext/web/timers.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/web/timers.rs b/ext/web/timers.rs
index 54e185abd..6e0759a98 100644
--- a/ext/web/timers.rs
+++ b/ext/web/timers.rs
@@ -91,7 +91,7 @@ pub async fn op_sleep(
// Windows timer period is 15ms, this means a 100ms timer could fire at 115ms (15% late). We assume that
// timers longer than 100ms are a reasonable cutoff here.
- // The high-res timers on Windows are still limited. Unfortuntely this means that our shortest duration 4ms timers
+ // The high-res timers on Windows are still limited. Unfortunately this means that our shortest duration 4ms timers
// can still be 25% late, but without a more complex timer system or spinning on the clock itself, we're somewhat
// bounded by the OS' scheduler itself.
let _hr_timer_lock = if millis <= 100 {