MCPcopy Create free account
hub / github.com/f0rr0/oliphaunt / prepared_update_limit_micros

Function prepared_update_limit_micros

xtask/src/main.rs:2739–2748  ·  view source on GitHub ↗
(mode: &str)

Source from the content-addressed store, hash-verified

2737}
2738
2739fn prepared_update_limit_micros(mode: &str) -> Option<u128> {
2740 if mode.starts_with("native_") {
2741 return None;
2742 }
2743 if mode.contains("pipelined") {
2744 Some(1_500_000)
2745 } else {
2746 Some(5_000_000)
2747 }
2748}
2749
2750fn run_pglite_sqlx_prepared_update_tests(
2751 numeric_updates: &[(i32, i32)],

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected