Update limit max to be reasonable

This commit is contained in:
Rerumu 2021-11-30 20:44:18 -05:00
parent b4901e72e1
commit b7dd849eca

View File

@ -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(),
} }
} }