Update limit max to be reasonable
This commit is contained in:
parent
b4901e72e1
commit
b7dd849eca
@ -15,7 +15,7 @@ pub fn aux_internal_index(internal: Internal) -> u32 {
|
|||||||
pub fn new_limit_max(limits: &ResizableLimits) -> String {
|
pub fn new_limit_max(limits: &ResizableLimits) -> String {
|
||||||
match limits.maximum() {
|
match limits.maximum() {
|
||||||
Some(v) => v.to_string(),
|
Some(v) => v.to_string(),
|
||||||
None => "math.huge".to_string(),
|
None => "0xFFFF".to_string(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user