diff options
author | Moritz Mœller <virtualritz@protonmail.com> | 2025-03-27 11:02:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-27 10:02:53 +0000 |
commit | e4efdfe668c05c4110a7183af452dfa04f801571 (patch) | |
tree | 0571ef08ac5552f7b0d7f012dcc704f53a54b23c /components/metrics/lib.rs | |
parent | 0051234e2cf4e206256601a7fbd02b38be54d3f1 (diff) | |
download | servo-e4efdfe668c05c4110a7183af452dfa04f801571.tar.gz servo-e4efdfe668c05c4110a7183af452dfa04f801571.zip |
Made MAX_TASK_NS u128. Also removed a superfluous into(). Both were required to fix #36122 with nightly 1.85.0 (4d91de4e4 2025-02-17). (#36169)
Signed-off-by: Moritz Moeller <virtualritz@protonmail.com>
Diffstat (limited to 'components/metrics/lib.rs')
-rw-r--r-- | components/metrics/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/metrics/lib.rs b/components/metrics/lib.rs index 4f42c2f7bbe..ea1b182b457 100644 --- a/components/metrics/lib.rs +++ b/components/metrics/lib.rs @@ -18,7 +18,7 @@ use servo_url::ServoUrl; /// TODO make this configurable /// maximum task time is 50ms (in ns) -pub const MAX_TASK_NS: u64 = 50000000; +pub const MAX_TASK_NS: u128 = 50000000; /// 10 second window const INTERACTIVE_WINDOW_SECONDS: Duration = Duration::from_secs(10); |