ts some minor update HOPEFULLY wont make it run 16k times worse HOPEFULLY
This commit is contained in:
@@ -109,7 +109,7 @@ fn init_config(args: InitConfigArgs) -> Result<()> {
|
||||
let cfg = config::AgentConfig {
|
||||
server_url: args
|
||||
.server_url
|
||||
.unwrap_or_else(|| "https://control-plane.example.com".to_string()),
|
||||
.unwrap_or_else(|| "https://wakey.ldlda.com".to_string()),
|
||||
agent_id: args
|
||||
.agent_id
|
||||
.unwrap_or_else(|| "REPLACE_ME_AGENT_ID".to_string()),
|
||||
|
||||
@@ -36,7 +36,7 @@ async fn run_once(config: &AgentConfig) -> Result<()> {
|
||||
.unwrap_or_default()
|
||||
);
|
||||
let span = info_span!("agent_session", session_id = %session_id, agent_id = %config.agent_id);
|
||||
let _span_guard = span.enter();
|
||||
let _span_guard = span.enter(); // the ENTIRETY of below is agent_session.
|
||||
|
||||
let ws_url = websocket_url(&config.server_url)?;
|
||||
info!(%ws_url, agent_id = %config.agent_id, "connecting agent websocket");
|
||||
|
||||
Reference in New Issue
Block a user