34namespace mqss::qrmci {
183std::expected<Config, Error>
The set of backends a QRM&CI process may schedule onto, and the time-to-live after which an entry nob...
BackendSelectionPolicy
Named rule deciding which backend wins when several of them could run the same task.
@ LowestName
The compatible backend whose name sorts first.
std::expected< Config, Error > loadConfig()
Build a configuration from defaults, an optional TOML file and environment overrides.
The error type every std::expected in QRM&CI's public interfaces carries.
How long a BackendRegistry entry stays usable after its last refresh.
std::chrono::seconds entryTimeToLive
Entry time-to-live, forwarded to BackendRegistry's constructor.
Settings shared by every pipeline stage: the RabbitMQ connection, logging, the queues common to more ...
std::string schedulerQueue
Queue used by the scheduler stage.
std::string logDir
Directory where log files are written.
RabbitMqConnectionConfig connection
RabbitMQ connection settings.
std::string daemonLogger
Logger name for the daemon.
std::chrono::milliseconds stagePollInterval
Sleep between turns of a daemon's main loop.
std::string schedulerLogger
Logger name for the scheduler.
std::string qrmciQueue
Queue incoming tasks arrive on.
std::string resultsQueue
Queue that carries execution results.
std::string schedulerLog
Log file for the scheduler.
std::string daemonLog
Log file for the daemon.
Compiler-stage configuration: the queue a worker receives already-selected tasks from,...
std::string logger
Logger name for the compiler.
std::chrono::milliseconds taskReceiveTimeout
Timeout for the worker's receive() from this queue.
std::string logFile
Log file for the compiler.
std::string queue
Queue used by the compiler stage.
A daemon's complete configuration, grouped by the pipeline responsibility each field belongs to.
SelectorConfig selector
Backend-selector stage configuration.
CompilerConfig compiler
Compiler stage configuration.
CommonConfig common
Settings shared by every stage.
SubmitterConfig submitter
Submitter stage configuration.
RabbitMQ connection settings, shared by every stage's messaging.
int port
RabbitMQ TCP port.
std::string password
RabbitMQ password.
std::string user
RabbitMQ user name.
std::string host
RabbitMQ host name.
std::string vhost
RabbitMQ virtual host.
Backend-selector stage configuration: the distributed selector's own queues, logging,...
std::string backendStatusQueue
Queue backend status is published on.
BackendRegistryConfig backendRegistry
This selector's registry timing.
std::string logger
Logger name for the selector.
std::string logFile
Log file for the selector.
BackendSelectionPolicy selectionPolicy
The rule for picking among several compatible backends, driving both the standalone daemon's and the ...
Submitter-specific configuration: its own queue/logging, QDMI credentials and device selection,...
std::string qdmiDeviceId
QDMI device id.
std::chrono::milliseconds backendStatusPublishInterval
Minimum spacing between two of this stage's own backend-status publications.
std::string logger
Logger name for the submitter.
std::chrono::seconds jobWaitTimeout
How long collectQuantumResult() waits for each submitted job to reach a final state.
BackendRegistryConfig backendRegistry
This submitter's registry timing.
std::string qdmiClientToken
QDMI client token.
std::string logFile
Log file for the submitter.
std::string qdmiDeviceName
QDMI device name.
std::string queue
Queue used by the submitter stage.
std::string qdmiDriver
Filesystem path to the QDMI driver library to load.