fix: Restore running single-process without etcd#2342
Conversation
I missed this in my review of #2011
WalkthroughThe refactoring alters the initialization sequence of the HTTP service within the Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~7 minutes Poem
Note ⚡️ Unit Test Generation is now available in beta!Learn more here, or try it out under "Finishing Touches" below. 📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (1)
🧰 Additional context used🧠 Learnings (1)📚 Learning: the asyncenginecontextprovider trait in lib/runtime/src/engine.rs was intentionally changed from `se...Applied to files:
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
🔇 Additional comments (8)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
I missed this in my review of #2011.
Creating a
DistributedRuntimeconnects to etcd. When #2011 moved it up to the top of the function that meant thatdynamo-run <model>, with no distributed system parts, would still try to connect to etcd.This PR moves creating the Distributed Runtime back into the
EngineConfig::Dynamicsection, which is the only part that should talk to etcd.Summary by CodeRabbit