mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
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>
This commit is contained in:
parent
0051234e2c
commit
e4efdfe668
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue