MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / runtime_first_frame_timeout_ms

Function runtime_first_frame_timeout_ms

src/daemon/runtime.c:2013–2020  ·  view source on GitHub ↗

The first frame is due within the request deadline. Under the item-12 seam a * connection that never sends one holds its slot until it closes; stop still * interrupts the wait like any other worker receive. */

Source from the content-addressed store, hash-verified

2011 * connection that never sends one holds its slot until it closes; stop still
2012 * interrupts the wait like any other worker receive. */
2013static uint32_t runtime_first_frame_timeout_ms(const cbm_daemon_runtime_service_t *service) {
2014#ifdef CBM_ENABLE_TEST_SEAMS
2015 if (atomic_load(&runtime_hold_peer_waits_seam)) {
2016 return CBM_DAEMON_IPC_WAIT_FOREVER;
2017 }
2018#endif
2019 return service->request_timeout_ms;
2020}
2021
2022/* Under the same seam an inline rejection's drain ends only on the peer's
2023 * close, never on the 250 ms bound (the drain only waits on Windows). */

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected