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

Function application_index_admission_error

src/daemon/application.c:2629–2637  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2627}
2628
2629static const char *application_index_admission_error(application_job_subscribe_status_t status) {
2630 if (status == APPLICATION_JOB_SUBSCRIBE_OPTIONS_CONFLICT) {
2631 return "another index operation for this project is active with different options";
2632 }
2633 if (status == APPLICATION_JOB_SUBSCRIBE_ALLOCATION_FAILED) {
2634 return "daemon index coordinator could not allocate an index job";
2635 }
2636 return "daemon index coordinator is stopping or unavailable";
2637}
2638
2639/* The synchronous contract: wait for the whole index (queueing behind the
2640 * physical job limit); a cancelled request drops only its own reference. */

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected