Skip to content

Commit

Permalink
Changes to connect to process monitor endpoint even if socket address…
Browse files Browse the repository at this point in the history
… for agent communication endpoint is not set (#2319)

* Changes to connect to process monitor endpoint even if socket address for agent communication endpoint is not set
  • Loading branch information
prebansa authored and TingluoHuang committed Jun 25, 2019
1 parent d887918 commit 41e38fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Microsoft.VisualStudio.Services.Agent/JobNotification.cs
Expand Up @@ -111,6 +111,8 @@ public async void StartClient(string pipeName, string monitorSocketAddress, Canc

public void StartClient(string socketAddress, string monitorSocketAddress)
{
ConnectMonitor(monitorSocketAddress);

if (!_configured)
{
try
Expand Down Expand Up @@ -154,8 +156,6 @@ public void StartClient(string socketAddress, string monitorSocketAddress)
Trace.Error(e);
}
}

ConnectMonitor(monitorSocketAddress);
}

private void StartMonitor(Guid jobId, string accessToken, Uri serverUri)
Expand Down

0 comments on commit 41e38fb

Please sign in to comment.