mirror of
https://github.com/ModernRelay/omnigraph.git
synced 2026-06-21 02:28:07 +02:00
server: drop unwired try_admit_rewrite / 503 admission surface
This commit is contained in:
parent
4bb7964af9
commit
6a3f0677ae
7 changed files with 12 additions and 109 deletions
|
|
@ -76,10 +76,6 @@ struct Args {
|
|||
/// doesn't bottleneck the count gate during normal bench runs.
|
||||
#[arg(long, default_value_t = 1_073_741_824)]
|
||||
byte_cap: u64,
|
||||
/// Global rewrite-pool cap. Bench is non-rewriting so default 4
|
||||
/// matches production.
|
||||
#[arg(long, default_value_t = 4)]
|
||||
global_rewrite_cap: u32,
|
||||
/// Output file for the JSON results. Stdout always gets a copy.
|
||||
#[arg(long)]
|
||||
output: Option<PathBuf>,
|
||||
|
|
@ -282,7 +278,7 @@ async fn main() {
|
|||
// `unsafe { std::env::set_var(...) }` antipattern that violates
|
||||
// `setenv`'s thread-safety precondition once the multi-thread tokio
|
||||
// runtime is up.
|
||||
let workload = WorkloadController::new(args.inflight_cap, args.byte_cap, args.global_rewrite_cap);
|
||||
let workload = WorkloadController::new(args.inflight_cap, args.byte_cap);
|
||||
let state = AppState::new_with_workload(
|
||||
repo.to_string_lossy().to_string(),
|
||||
db,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue