mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-08 10:44:20 +01:00
Using `unwrap_or_default` can make `page_size` become 0 in this case, which can lead to subtracting with overflow in `payload_threshold_max` in case we have some sort of error. Better to unwrap the error here, as in release mode we may not have overflow checks enabled to catch this. Closes #2145