rust 1,862,106 · typescript 235,774 · javascript 132,961 · python 20,426 · 6,412 files · digest 265813236560 · built in 2.2 s · crystals off
crates/cre8-app-gateway/src/server_runtime.rs
Items
struct ShopMaintenanceOrigin struct BallotQuestionSchedulerOrigin impl AuthenticatedServiceOrigin for BallotQuestionSchedulerOrigin impl AuthenticatedServiceOrigin for ShopMaintenanceOrigin const DEFAULT_CONTROLLER_TICK_MS const DEFAULT_GOSSIP_INTERVAL_S const DEFAULT_DEAD_PEER_AGE_S const DEFAULT_INFER_TICKER_MS const DEFAULT_INFER_TICKER_MIN_AVAILABLE_MEMORY_BYTES const DEFAULT_INFER_TICKER_MAX_RSS_BYTES const DEFAULT_INFER_TICKER_MAX_RSS_TOTAL_MEMORY_PERCENT const DEFAULT_REQUEST_TIMEOUT const PUBLIC_URL_ENV const GATEWAY_PUBLIC_URL_ENV const RAILWAY_PUBLIC_DOMAIN_ENV const GATEWAY_HTTP_ADDR_ENV const GATEWAY_ADVERTISE_HOST_ENV const HTTP_PORT_ENV const INFER_TICKER_MS_ENV const INFER_TICKER_MIN_AVAILABLE_MEMORY_BYTES_ENV const INFER_TICKER_MAX_RSS_BYTES_ENV const INFER_TICKER_PORT_ENV const CONTROLLER_AUTOTICK_ENV const CONTROLLER_TICK_MS_ENV const GOSSIP_AUTOTICK_ENV const GOSSIP_INTERVAL_S_ENV const DEAD_PEER_AGE_S_ENV const HYPERDB_COMPACTION_AUTOTICK_ENV const HYPERDB_COMPACTION_INTERVAL_S_ENV const HYPERDB_COMPACTION_WAL_THRESHOLD_BYTES_ENV const CONNECTION_SWEEP_AUTOTICK_ENV const CONNECTION_SWEEP_INTERVAL_S_ENV const CONNECTION_INSTANCE_TTL_HOURS_ENV const SHOP_CATALOG_REFRESH_INTERVAL_S_ENV const SHOP_INVENTORY_SYNC_INTERVAL_S_ENV const SHOP_CART_SWEEP_INTERVAL_S_ENV const CLAIM_NPC_BETTOR_INTERVAL_S_ENV const FAB_STREAM_PUMP_INTERVAL_S_ENV const CRYSTAL_GOSSIP_INTERVAL_S_ENV const COMPUTE_REUSE_CREDIT_INTERVAL_S_ENV const FARM_GROWTH_TICK_INTERVAL_S_ENV const GIT_SYNC_INTERVAL_S_ENV const ENERGY_SETTLE_TICK_INTERVAL_S_ENV const ENERGY_VIRTUAL_SYNC_INTERVAL_S_ENV const WEBCAM_SYNC_INTERVAL_S_ENV const WEBCAM_WATCH_INTERVAL_S_ENV const CALENDAR_SYNC_INTERVAL_S_ENV const CHANNEL_DIRECTOR_TICK_INTERVAL_S_ENV const CHANNEL_CHRONICLE_TICK_INTERVAL_S_ENV const CHANNEL_LIVE_CAPTIONS_INTERVAL_S_ENV const CHANNEL_CHAT_BRIDGE_INTERVAL_S_ENV const AGENT_SWARM_INTERVAL_S_ENV const LEGALCODE_PERMIT_DUE_INTERVAL_S_ENV const AUDIO_SONG_RADIO_AUTOSTART_ENV static CONTROLLER_AUTOTICK_ONCE static GOSSIP_AUTOTICK_ONCE static INFER_AUTOTICK_ONCE static INFER_LOW_MEMORY_WARNED static INFER_HIGH_RSS_WARNED static COMPACTION_AUTOTICK_ONCE static CONNECTION_SWEEP_AUTOTICK_ONCE static SHOP_CATALOG_REFRESH_ONCE static SHOP_INVENTORY_SYNC_ONCE static SHOP_CART_SWEEP_ONCE static CLAIM_NPC_BETTOR_ONCE static FAB_STREAM_PUMP_ONCE static CRYSTAL_GOSSIP_ONCE static COMPUTE_REUSE_CREDIT_ONCE static FARM_GROWTH_TICK_ONCE static ENERGY_SETTLE_TICK_ONCE static ENERGY_VIRTUAL_SYNC_ONCE static WEBCAM_SYNC_ONCE static WEBCAM_WATCH_ONCE static CALENDAR_SYNC_ONCE static GIT_SYNC_TICK_ONCE static CHANNEL_DIRECTOR_TICK_ONCE static CHANNEL_CHRONICLE_TICK_ONCE static CHANNEL_LIVE_CAPTIONS_TICK_ONCE static CHANNEL_CHAT_BRIDGE_TICK_ONCE static AGENT_SWARM_TICK_ONCE static LEGALCODE_PERMIT_DUE_ONCE static AUDIO_SONG_RADIO_AUTOSTART_ONCE const DEFAULT_COMPACTION_INTERVAL_S const DEFAULT_COMPACTION_WAL_THRESHOLD_BYTES const DEFAULT_CONNECTION_SWEEP_INTERVAL_S const DEFAULT_CONNECTION_TTL_HOURS const DEFAULT_SHOP_CART_SWEEP_INTERVAL_S const NOTIFICATION_DRAIN_INTERVAL_S_ENV const CHOREOGRAPHY_TICK_INTERVAL_S_ENV const SITE_MAILING_DRAIN_INTERVAL_S_ENV static DUE_WORK_TICK_ONCE struct SiteMailingDrainOrigin impl AuthenticatedServiceOrigin for SiteMailingDrainOrigin struct NotificationDrainOrigin impl AuthenticatedServiceOrigin for NotificationDrainOrigin struct ChoreographySchedulerOrigin impl AuthenticatedServiceOrigin for ChoreographySchedulerOrigin const SITE_GROWTH_JOBS_INTERVAL_S_ENV static SITE_GROWTH_JOBS_ONCE struct SiteGrowthJobsOrigin impl AuthenticatedServiceOrigin for SiteGrowthJobsOrigin const OPPORTUNITY_SWEEP_INTERVAL_S_ENV static OPPORTUNITY_SWEEP_ONCE struct OpportunitySweepOrigin impl AuthenticatedServiceOrigin for OpportunitySweepOrigin static DEFAULT_MAX_RSS
Functions
By call-graph weight (PageRank; 1.0 is the average function). 111 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| parse_u64_envsrc/server_runtime.rs:161 | fn | 7 | 1 | 32 | 1 | 3.8 | |
| collect_runtime_routessrc/server_runtime.rs:2048 | fn | 6 | 1 | 16 | 2 | 3.5 | |
| run_recovering_background_ticksrc/server_runtime.rs:177 | fn | 19 | 2 | 30 | 1 | 3.4 | |
| panic_payload_messagesrc/server_runtime.rs:197 | fn | 9 | 3 | 1 | 0 | 3.4 | |
| parse_port_literalsrc/server_runtime.rs:1915 | fn | 3 | 1 | 2 | 0 | 2.6 | |
| drain_loopback_responsesrc/server_runtime.rs:1875 | fn | 12 | 3 | 2 | 0 | 2.6 | |
| normalize_public_urlsrc/server_runtime.rs:207 | fn | 9 | 2 | 4 | 3 | 2.2 | |
| infer_ticker_port_from_sourcessrc/server_runtime.rs:1901 | fn | 13 | 1 | 3 | 2 | 2.2 | |
| post_loopbacksrc/server_runtime.rs:1849 | fn | 25 | 1 | 17 | 1 | 2 | |
| infer_ticker_portsrc/server_runtime.rs:1888 | fn | 12 | 1 | 17 | 2 | 2 | |
| runtime_connectionless_route_keyssrc/server_runtime.rs:285 | fn | 14 | 2 | 2 | 2 | 1.9 | |
| due_work_runtimesrc/server_runtime.rs:966 | fn | 10 | 1 | 5 | 6 | 1.7 | |
| map_runtime_event_responsesrc/server_runtime.rs:304 | fn | 20 | 1 | 2 | 2 | 1.6 | |
| parse_port_from_addrsrc/server_runtime.rs:1919 | fn | 3 | 1 | 1 | 1 | 1.4 | |
| route_keysrc/server_runtime.rs:300 | fn | 3 | 1 | 1 | 0 | 1.3 | |
| infer_ticker_default_max_rss_for_total_memorysrc/server_runtime.rs:1746 | fn | 9 | 1 | 2 | 0 | 1.2 | |
| parse_u64_zero_disablessrc/server_runtime.rs:173 | fn | 3 | 1 | 2 | 0 | 1.2 | |
| public_url_from_local_ipsrc/server_runtime.rs:273 | fn | 7 | 3 | 2 | 1 | 1.1 | |
| public_url_with_schemesrc/server_runtime.rs:217 | fn | 7 | 3 | 1 | 0 | 1.1 | |
| public_url_hostsrc/server_runtime.rs:225 | fn | 13 | 1 | 1 | 0 | 1.1 | |
| is_local_public_hostsrc/server_runtime.rs:239 | fn | 3 | 2 | 1 | 0 | 1.1 | |
| dispatch_gateway_requestsrc/server_runtime.rs:325 | fn | 22 | 4 | 3 | 1 | 1.1 | |
| infer_ticker_should_post_with_available_memorysrc/server_runtime.rs:1797 | fn | 3 | 2 | 2 | 0 | 1 | |
| infer_ticker_should_post_with_process_rsssrc/server_runtime.rs:1801 | fn | 3 | 2 | 2 | 0 | 1 | |
| infer_ticker_total_memory_bytessrc/server_runtime.rs:1818 | fn | 5 | 1 | 1 | 0 | 0.8 | |
| infer_ticker_default_max_rss_bytessrc/server_runtime.rs:1741 | fn | 4 | 1 | 1 | 2 | 0.7 | |
| local_ip_for_public_probesrc/server_runtime.rs:267 | fn | 5 | 1 | 1 | 0 | 0.7 | |
| env_public_urlsrc/server_runtime.rs:251 | fn | 4 | 1 | 1 | 2 | 0.7 | |
| railway_public_domain_urlsrc/server_runtime.rs:256 | fn | 4 | 1 | 1 | 2 | 0.7 | |
| advertised_host_urlsrc/server_runtime.rs:261 | fn | 5 | 1 | 1 | 3 | 0.7 | |
| trace_candidates_for_connection_instancesrc/server_runtime.rs:2220 | fn | 14 | 4 | 1 | 1 | 0.6 | |
| delete_orphan_tracesrc/server_runtime.rs:2235 | fn | 8 | 3 | 1 | 1 | 0.6 | |
| dispatch_shop_catalog_refresh_ticksrc/server_runtime.rs:604 | fn | 15 | 1 | 1 | 7 | 0.6 | |
| dispatch_shop_inventory_sync_ticksrc/server_runtime.rs:664 | fn | 15 | 1 | 1 | 7 | 0.6 | |
| dispatch_legalcode_permit_due_ticksrc/server_runtime.rs:785 | fn | 14 | 1 | 1 | 7 | 0.6 | |
| dispatch_site_growth_jobs_ticksrc/server_runtime.rs:1067 | fn | 8 | 1 | 1 | 2 | 0.6 | |
| dispatch_opportunity_sweep_ticksrc/server_runtime.rs:1140 | fn | 20 | 1 | 1 | 2 | 0.6 | |
| dispatch_agent_swarm_ticksrc/server_runtime.rs:1161 | fn | 9 | 1 | 1 | 7 | 0.6 | |
| parse_u64_env_zero_disablessrc/server_runtime.rs:169 | fn | 3 | 1 | 1 | 2 | 0.6 | |
| sweep_stale_connection_instances_and_orphanssrc/server_runtime.rs:2187 | fn | 32 | 5 | 1 | 4 | 0.6 | |
| infer_ticker_min_available_memory_bytessrc/server_runtime.rs:1723 | fn | 6 | 1 | 1 | 1 | 0.6 | |
| infer_ticker_max_rss_bytessrc/server_runtime.rs:1730 | fn | 10 | 2 | 1 | 2 | 0.6 | |
| infer_ticker_available_memory_bytessrc/server_runtime.rs:1806 | fn | 5 | 1 | 1 | 0 | 0.6 | |
| infer_ticker_process_rss_bytessrc/server_runtime.rs:1830 | fn | 8 | 1 | 1 | 0 | 0.6 | |
| gateway_public_address_from_envsrc/server_runtime.rs:243 | fn | 7 | 1 | 2 | 3 | 0.6 | |
| dispatch_notification_drain_ticksrc/server_runtime.rs:977 | fn | 8 | 1 | 1 | 2 | 0.6 | |
| dispatch_site_mailing_drain_ticksrc/server_runtime.rs:986 | fn | 8 | 1 | 1 | 2 | 0.6 | |
| dispatch_choreography_ticksrc/server_runtime.rs:995 | fn | 8 | 1 | 1 | 2 | 0.6 | |
| infer_ticker_has_memory_headroomsrc/server_runtime.rs:1756 | fn | 40 | 5 | 1 | 6 | 0.6 | |
| dispatch_controller_ticksrc/server_runtime.rs:348 | fn | 23 | 2 | 1 | 1 | 0.5 | |
| dispatch_ballot_question_ticksrc/server_runtime.rs:424 | fn | 16 | 2 | 1 | 8 | 0.5 | |
| gateway_public_address_from_local_ipsrc/server_runtime.rs:281 | fn | 3 | 1 | 1 | 2 | 0.5 | |
| runtime_context_from_snapshotsrc/server_runtime.rs:1923 | fn | 17 | 3 | 1 | 9 | 0.5 | |
| start_controller_autoticksrc/server_runtime.rs:372 | fn | 51 | 4 | 2 | 9 | 0.5 | |
| start_audio_song_radio_autoticksrc/server_runtime.rs:452 | fn | 42 | 2 | 2 | 4 | 0.5 | |
| start_infer_autoticksrc/server_runtime.rs:508 | fn | 51 | 5 | 2 | 6 | 0.5 | |
| start_shop_catalog_refresh_autoticksrc/server_runtime.rs:565 | fn | 38 | 3 | 2 | 4 | 0.5 | |
| start_shop_inventory_sync_autoticksrc/server_runtime.rs:627 | fn | 36 | 3 | 2 | 4 | 0.5 | |
| start_agent_swarm_autoticksrc/server_runtime.rs:687 | fn | 40 | 3 | 2 | 4 | 0.5 | |
| start_legalcode_permit_due_autoticksrc/server_runtime.rs:735 | fn | 49 | 3 | 2 | 4 | 0.5 | |
| start_due_work_autoticksrc/server_runtime.rs:859 | fn | 105 | 15 | 2 | 6 | 0.5 | |
| start_site_growth_jobs_autoticksrc/server_runtime.rs:1028 | fn | 38 | 3 | 2 | 4 | 0.5 | |
| start_opportunity_sweep_autoticksrc/server_runtime.rs:1100 | fn | 39 | 3 | 2 | 4 | 0.5 | |
| start_farm_growth_autoticksrc/server_runtime.rs:1178 | fn | 26 | 3 | 2 | 5 | 0.5 | |
| start_energy_settle_autoticksrc/server_runtime.rs:1212 | fn | 25 | 3 | 2 | 5 | 0.5 | |
| start_git_sync_autoticksrc/server_runtime.rs:1245 | fn | 25 | 3 | 2 | 5 | 0.5 | |
| start_energy_virtual_sync_autoticksrc/server_runtime.rs:1277 | fn | 25 | 3 | 2 | 5 | 0.5 | |
| start_webcam_sync_autoticksrc/server_runtime.rs:1307 | fn | 23 | 3 | 2 | 5 | 0.5 | |
| start_calendar_sync_autoticksrc/server_runtime.rs:1337 | fn | 23 | 3 | 2 | 5 | 0.5 | |
| start_webcam_watch_autoticksrc/server_runtime.rs:1365 | fn | 22 | 3 | 2 | 5 | 0.5 | |
| start_channel_director_autoticksrc/server_runtime.rs:1396 | fn | 28 | 3 | 2 | 5 | 0.5 | |
| start_channel_chronicle_autoticksrc/server_runtime.rs:1433 | fn | 28 | 3 | 2 | 5 | 0.5 | |
| start_channel_live_captions_autoticksrc/server_runtime.rs:1473 | fn | 31 | 3 | 2 | 5 | 0.5 | |
| start_channel_chat_bridge_autoticksrc/server_runtime.rs:1514 | fn | 29 | 3 | 2 | 5 | 0.5 | |
| start_fab_stream_pump_autoticksrc/server_runtime.rs:1551 | fn | 25 | 3 | 2 | 5 | 0.5 | |
| start_shop_cart_sweep_autoticksrc/server_runtime.rs:1582 | fn | 32 | 3 | 2 | 5 | 0.5 | |
| start_claim_npc_bettor_autoticksrc/server_runtime.rs:1623 | fn | 26 | 3 | 2 | 5 | 0.5 | |
| start_crystal_gossip_autoticksrc/server_runtime.rs:1657 | fn | 25 | 3 | 2 | 5 | 0.5 | |
| start_compute_reuse_credit_autoticksrc/server_runtime.rs:1689 | fn | 33 | 3 | 2 | 5 | 0.5 | |
| start_gossip_autoticksrc/server_runtime.rs:1941 | fn | 106 | 9 | 2 | 15 | 0.5 | |
| start_compaction_autoticksrc/server_runtime.rs:2075 | fn | 55 | 5 | 2 | 5 | 0.5 | |
| start_connection_sweep_autoticksrc/server_runtime.rs:2138 | fn | 43 | 5 | 2 | 5 | 0.5 | |
| BallotQuestionSchedulerOrigin::authenticated_service_idsrc/server_runtime.rs:38 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| BallotQuestionSchedulerOrigin::authenticated_service_scopesrc/server_runtime.rs:42 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| ShopMaintenanceOrigin::authenticated_service_idsrc/server_runtime.rs:48 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| ShopMaintenanceOrigin::authenticated_service_scopesrc/server_runtime.rs:52 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| SiteMailingDrainOrigin::authenticated_service_idsrc/server_runtime.rs:810 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| SiteMailingDrainOrigin::authenticated_service_scopesrc/server_runtime.rs:814 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| NotificationDrainOrigin::authenticated_service_idsrc/server_runtime.rs:824 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| NotificationDrainOrigin::authenticated_service_scopesrc/server_runtime.rs:828 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| ChoreographySchedulerOrigin::authenticated_service_idsrc/server_runtime.rs:838 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| ChoreographySchedulerOrigin::authenticated_service_scopesrc/server_runtime.rs:842 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| SiteGrowthJobsOrigin::authenticated_service_idsrc/server_runtime.rs:1012 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| SiteGrowthJobsOrigin::authenticated_service_scopesrc/server_runtime.rs:1016 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| OpportunitySweepOrigin::authenticated_service_idsrc/server_runtime.rs:1084 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| OpportunitySweepOrigin::authenticated_service_scopesrc/server_runtime.rs:1088 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| infer_ticker_available_memory_bytessrc/server_runtime.rs:1813 | fn | 3 | 1 | 0 | 0 | 0.5 | |
| infer_ticker_total_memory_bytessrc/server_runtime.rs:1825 | fn | 3 | 1 | 0 | 0 | 0.5 | |
| infer_ticker_process_rss_bytessrc/server_runtime.rs:1840 | fn | 3 | 1 | 0 | 0 | 0.5 | |
| runtime_event_private_result_keeps_batch_without_csv_echosrc/server_runtime.rs:2255 | fn | 16 | 1 | 0 | 3 | 0.5 | |
| runtime_direct_routes_are_derived_from_app_metasrc/server_runtime.rs:2273 | fn | 11 | 1 | 0 | 2 | 0.5 | |
| runtime_route_collection_still_loadssrc/server_runtime.rs:2286 | fn | 5 | 1 | 0 | 2 | 0.5 | |
| infer_ticker_prefers_successful_bind_port_over_generic_envsrc/server_runtime.rs:2293 | fn | 6 | 1 | 0 | 1 | 0.5 | |
| infer_ticker_explicit_override_still_winssrc/server_runtime.rs:2301 | fn | 3 | 1 | 0 | 1 | 0.5 | |
| public_url_from_local_ip_rejects_local_only_addressessrc/server_runtime.rs:2306 | fn | 8 | 1 | 0 | 1 | 0.5 | |
| infer_ticker_drain_does_not_allocate_response_bodysrc/server_runtime.rs:2316 | fn | 6 | 1 | 0 | 1 | 0.5 | |
| infer_ticker_memory_floor_can_pause_tickssrc/server_runtime.rs:2324 | fn | 5 | 1 | 0 | 1 | 0.5 | |
| infer_ticker_rss_ceiling_can_pause_tickssrc/server_runtime.rs:2331 | fn | 5 | 1 | 0 | 1 | 0.5 | |
| infer_ticker_default_rss_ceiling_scales_down_on_smaller_hostssrc/server_runtime.rs:2338 | fn | 11 | 1 | 0 | 1 | 0.5 | |
| shop_sweep_interval_defaults_on_and_honors_explicit_zerosrc/server_runtime.rs:2351 | fn | 7 | 1 | 0 | 1 | 0.5 | |
| recovering_background_tick_returns_none_after_panicsrc/server_runtime.rs:2360 | fn | 7 | 1 | 0 | 1 | 0.5 |
Source not readable from this process.