1 viewer
rust 1,859,989 · typescript 235,537 · javascript 132,952 · python 20,426 · 6,407 files · digest 4f42637fac12 · built in 1.2 s · crystals off
crates/cre8-app-gateway/src/server_http_workers.rs
Items
struct QueuedGatewayHttpJob impl QueuedGatewayHttpJob struct InflightGuard impl InflightGuard impl Drop for InflightGuard
Functions
By call-graph weight (PageRank; 1.0 is the average function). 21 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| parse_positive_usizesrc/server_http_workers.rs:38 | fn | 3 | 1 | 4 | 0 | 3 | |
| parse_usize_envsrc/server_http_workers.rs:42 | fn | 4 | 1 | 2 | 2 | 1.4 | |
| respond_gateway_backpressuresrc/server_http_workers.rs:171 | fn | 15 | 2 | 2 | 5 | 1.4 | |
| gateway_backpressure_payloadsrc/server_http_workers.rs:187 | fn | 15 | 1 | 2 | 0 | 1.1 | |
| gateway_request_worker_count_with_overridesrc/server_http_workers.rs:48 | fn | 9 | 1 | 1 | 1 | 0.9 | |
| gateway_request_queue_cap_with_overridesrc/server_http_workers.rs:65 | fn | 4 | 1 | 1 | 1 | 0.9 | |
| InflightGuard::newsrc/server_http_workers.rs:23 | method | 3 | 1 | 2 | 0 | 0.7 | |
| new_inflight_countersrc/server_http_workers.rs:34 | fn | 3 | 1 | 2 | 0 | 0.7 | |
| QueuedGatewayHttpJob::newsrc/server_http_workers.rs:15 | method | 3 | 1 | 1 | 0 | 0.5 | |
| gateway_request_worker_countsrc/server_http_workers.rs:58 | fn | 5 | 1 | 1 | 1 | 0.5 | |
| gateway_request_queue_capsrc/server_http_workers.rs:70 | fn | 4 | 1 | 1 | 1 | 0.5 | |
| gateway_http_job_channelsrc/server_http_workers.rs:75 | fn | 6 | 1 | 1 | 0 | 0.5 | |
| spawn_gateway_http_workerssrc/server_http_workers.rs:82 | fn | 33 | 6 | 1 | 0 | 0.5 | |
| reserve_inflight_or_respondsrc/server_http_workers.rs:116 | fn | 21 | 2 | 1 | 1 | 0.5 | |
| enqueue_gateway_http_jobsrc/server_http_workers.rs:138 | fn | 32 | 3 | 1 | 1 | 0.5 | |
| InflightGuard::dropsrc/server_http_workers.rs:29 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| positive_usize_parser_rejects_empty_zero_and_invalid_valuessrc/server_http_workers.rs:210 | fn | 8 | 1 | 0 | 1 | 0.5 | |
| worker_count_uses_bounded_default_without_env_mutationsrc/server_http_workers.rs:220 | fn | 8 | 1 | 0 | 1 | 0.5 | |
| queue_cap_defaults_to_at_least_one_without_env_mutationsrc/server_http_workers.rs:230 | fn | 7 | 1 | 0 | 1 | 0.5 | |
| inflight_guard_releases_one_slot_on_dropsrc/server_http_workers.rs:239 | fn | 9 | 1 | 0 | 2 | 0.5 | |
| backpressure_payload_keeps_response_shape_stablesrc/server_http_workers.rs:250 | fn | 12 | 1 | 0 | 1 | 0.5 |
Source not readable from this process.