MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / runtime

Function runtime

atomic-cli/src/commands/agent/owner.rs:772–777  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

770}
771
772fn runtime() -> anyhow::Result<tokio::runtime::Runtime> {
773 tokio::runtime::Builder::new_multi_thread()
774 .enable_all()
775 .build()
776 .context("failed to create database-owner runtime")
777}
778
779/// Start the repository owner or reconnect when another process won election.
780pub(crate) fn start_or_reconnect(repository: &Path) -> anyhow::Result<OwnerResponse> {

Callers 2

requestFunction · 0.85
serveFunction · 0.85

Calls 2

contextMethod · 0.80
buildMethod · 0.45

Tested by

no test coverage detected