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

Function runtime

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

Source from the content-addressed store, hash-verified

776}
777
778fn runtime() -> anyhow::Result<tokio::runtime::Runtime> {
779 tokio::runtime::Builder::new_multi_thread()
780 .enable_all()
781 .build()
782 .context("failed to create database-owner runtime")
783}
784
785/// Start the repository owner or reconnect when another process won election.
786pub(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